Formatting numbers

Top  Previous  Next

The Value property can display formatted numeric values from your fields.  To do this, add the suffix :numformat  to the <value tag, followed by one or more of the following values:

 

#

a placeholder for a digit

0

a placeholder for a digit, 0 will be displayed if no values are present

.

a placeholder for the decimal separator

,

a placeholder for the thousand separator

 

For e.g. the value from the ListPrice field in our data set is 3578.27:

 

custom_numbers01

 

Using the numformat qualifier, we can choose to display the value in round numbers only e.g.

 

custom_numbers02

 

We can also add a thousand separator by using the , formatting value e.g.

 

custom_numbers03