Truncates the value of numValue.
Function | Group | Execution | Windows | Embedded | Thin Client |
---|---|---|---|---|---|
Trunc | Arithmetic | Synchronous | Supported | Supported | Supported |
Trunc( numValue )
Returns the integer portion of the real number value of numValue.
Tag Name | Expression |
---|---|
Trunc( 234.987 ) // Returned value = 234 | |
Trunc( -3465.9 ) // Returned value = -3465 |