Round up

Mergers the value rounded up to precision significant digits. If the data is empty or not a number, the value 0 will be returned.

SYNTAX
{{roundUp data precision culture}}
PARAMETERS
Name Type Required Description
Data Number Required Data to be formatted.
Precision Number Required Number of digits after the decimal to round the value to.
Culture Text Optional Text that denotes the culture to be used.
EXAMPLES

The examples below are based on the following sample content:

Order total: {{roundUp Contact.OrderAmt 2}}

A. Contact’s OrderAmt field has the value 16.399

Order total: 16.40

B. Contact’s OrderAmt field has the value 16.548 and a precision of 1

Order total: 16.6

C. Contact’s OrderAmt field has the value 16.21, precision of 1, and a culture of pt-BR

Order total: 16,3
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us