to_int

Converts an expression to an integer.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
X X X X X

Syntax

int to_int(data)
expr       data

Notes

Truncates the expression. If data is already an int, no conversion takes place and the original value is returned.

Example

Converts salary field datatype to eliminate decimals.
field = to_int(SAL);