This item was deprecated in version 2020r2. Please use Round as a replacement.
Returns the value rounded to the nearest whole number.
Some rounding examples:
Using Xojo.Math Dim d As Double d = Round(1.499) // d = 1 d = Round(1.500) // d = 2 d = Round(1.1) // d = 1 d = Round(1.7) // d = 2
All project types on all supported operating systems.