'Round' and 'Truncate' functions added for rounding amounts

We have added the functions 'Round(<precize>)' and 'Truncate(<precize>)' to LDM fields for rounding amounts. 'Round' rounds to the specified number of positions, 'Truncate' reduces the number of decimals to the specified number without rounding. If you do not specify precision, the default rounding is to 2 positions.

 

Examples

  • Round(0) when rounding 10.55 becomes 11.00
  • Round(1) when rounding 10.55 becomes 10.60
  • Round() when rounding 10.55 remains 10.55
  • Truncate(0) when rounding 10.55 becomes 10.00
  • Truncate(1) when rounding 10.55 becomes 10.50
  • Truncate() when rounding 10.55 remains 10.55