Skip to content

round

Rounding decimals – in this example to one decimal place:

${System.Math.Round(123.56, 1)}

Rounding off decimals, in the example below the result would be 124:

${System.Math.Round(123.56)}

If you want to round the custom field (has to be of type Money), you have to cast the custom field to a decimal type variable. The example is below:

${System.Math.Round((decimal)SubscriberProperty('amount_paid'), 1)}
On this page
To top