Round
Rounds numValue to the nearest integer.
Function | Group | Execution | Windows | Embedded | Thin Client | Mobile Access |
---|---|---|---|---|---|---|
Round | Arithmetic | Synchronous | Supported | Supported | Supported | Supported |
Syntax
Round( numValue )
- numValue
- A Real tag that holds the value to be rounded.
Returned value
Returns the integer result of the round function.
Examples
Tag Name | Expression |
---|---|
Tag | Round( “345.87″ ) // Returned value = 346 |
Tag | Round( “65.323″ ) // Returned value = 65 |