HOW TO ROUND A DECIMAL NUMBER IN MICROSOFT DYNAMICS AX
real decRound(real figure, int decimals)
- decRound(1234.6574,2); //Returns the value 1234.66.
- decRound(1234.6574,0); //Returns the value 1235.
- decRound(1234.6574,-2); //Returns the value 1200.
- decRound(12345.6789,1) //Returns the value 12345.70.
- decRound(12345.6789,-1) //Returns the value 12350.00.
No comments:
Post a Comment