| Maptitude GISDK Help |
Returns a value rounded to a specified number of decimal places.
rounded_value = Round(real input_value, integer n_decimals)
| Argument | Contents |
|---|---|
| input_value | Any number |
| n_decimals | The number of decimal places to which the number should be rounded |
A real number equal to input_value rounded to n_decimals places.
val1 = Round(123.4567, 2) // val1 = 123.46
val2 = Round(123.4567, 0) // val2 = 123.0
| Function | Summary |
|---|---|
| Ceil() | Returns the next larger integer after a value |
| Floor() | Returns the next smaller integer before a value |
| RealToInt() | Converts a real number to an integer |
| ©2025 Caliper Corporation | www.caliper.com |