How to: |
TO_INTEGER converts a character string that contains a valid number consisting of digits and an optional decimal point to an integer value. If the value contains a decimal point, the value after the decimal point is truncated. If the value does not represent a valid number, zero (0) is returned.
TO_INTEGER(string)
where:
TO_INTEGER converts the character string '56.78' to an integer.
TO_INTEGER('56.78')
The result is 56.
WebFOCUS | |
Feedback |