Product: LABELVIEW, CODESOFT
Version: All Versions
|
round(<<val_1>>, <<val_2>>): Returns the argument val_1 rounded to the number of figures by val_2. If val_2 is greater than 0, val_1 is rounded to the number of decimals indicated. If val_2 is equal to 0, val_1 is rounded to the closest integer. If val_2 is less than 0, val_1 is rounded off to the left of the decimal point.
Examples:
round(4.25, 1) = 4.3
round(1.449, 1) = 1.4
round(42.6, -1) = 40
|