Rounds a figure based on the parameters


[%round value:'11.65' dp:'1'/%]


The round tag lets you round a number to the closest decimal place as specified in the DP param.

In our example, the result would be 11.7 as we are rounding 11.65 to a decimal place of 1.


Name Options Description
value:'' Number The value you will round
dp:'' Integer The decimal place you will round the value to, can not be used with the nearest param
nearest:'' 1 Rounds to the nearest whole number, can not be used with the dp param

Was this article useful?

Be notified when this page is updated. Optional.