Round
Round
Round
Characteristic
|
Description
|
Returns
|
Value rounded to the nearest integer or specified number of decimal places.
|
Return type
|
Int32 (for Central Designer Integer and YesNo types).
or
Double (for Central Designer float types).
|
Syntax
|
Math.Round(a, b)
|
Parameters
|
- Parameter—a
- Definition—A number to be rounded.
- Data type—Any numeric data type.
|
|
- Parameter—b
- Definition—The number of decimal places (precision) in the return value.
- Data type—Integer
|