How You Format Numeric Separators and Decimal Precision for Numeric Data

You can use the function <?format-number:NUMERIC_VARIABLE; ’9G999D99'?> where G stands for the position of the comma (,) and D stands for position of the decimal. For example:

<?format-number:COMP_1_COMPENSATION_AMOUNT; ’9G999D99'?>

If the value of the variable COMP_1_COMPENSATION_AMOUNT is 1234.5678, the above expression will display it as “1,234.57” after rounding the numeric data to two decimal places.

Alternatively, you can also make use of form field options.