Decimal to Text with Rounding Decimal Places & Thousand Separators | C/AL

You can round decimal values converting to text using the ‘FORMAT‘ function in C/AL on Dynamics Navision. The following example will show, how to convert decimal into text in rounding two decimal places with thousand separators.

FORMAT(DecimalAmt,0,'<Precision,2><sign><Integer Thousand><Decimals,3>');

Visit the previous tutorial about, how to set Windows user permission to Dynamics NAV using PowerShell.

Senior Solutions Architect - Microsoft Dynamics Navision / Microsoft Dynamics 365 Business Central and freelance developer. (The admin of NAVUSER)

Leave a Comment