Updated: 2025-02-10
The round() function allows you to round a number to the nearest digit. Add the format() function and the dollar sign to display it as currency.
Code | Result |
---|---|
{{CurrentClient.T1.NetIncome.M[28]}} | $2180.89 |
${{format(round(CurrentClient.T1.NetIncome.M[28],00))}} | $2,181.00 |
${{format(round(CurrentClient.T1.NetIncome.M[28],01))}} | $2,180.90 |
${{format(round(CurrentClient.T1.NetIncome.M[28],02))}} | $2,180.89 |
${{format(round(CurrentClient.T1.NetIncome.M[28],-1))}} | $2,180.00 |
${{format(round(CurrentClient.T1.NetIncome.M[28],-2))}} | $2,200.00 |
${{format(round(CurrentClient.T1.NetIncome.M[28],-3))}} | $2,000.00 |