Format number

Merges the value of a number in a designated format.

SYNTAX
{{formatNumber data format culture}}
PARAMETERS
Name Type Required Description
Data Text or Number Required Data to be formatted.
Format Text Required Format used to output number.
Culture Text Optional Text that denotes the culture to be used.

For standard numeric formats, refer to the .NET Standard Numeric Format String.

For custom numeric formats, refer to the .NET Custom Numeric Format String.

EXAMPLES

The examples below are based on the following sample content:

Order total: {{formatNumber Contact.OrderAmt format}}

A. Contact’s OrderAmt field has the value 1073.48 and a format of C

Order total: $1,073.48

B. Contact’s OrderAmt field has the value 973.48 and a format of US $#,000.0#

Order total: $973.48

C. Contact’s OrderAmt field has the value 1059.38 and a format of 00000.0

Order total: 01059.4
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