ISTRL(n)
Converts the integer portion of a real number into a character string. The maximum number of characters which this function can return is 30.
The 30 character limit is set so that you can use the string in the MESSG statement directly (MESSG has a limit of 60 characters per line). For example:
MESSG/'R = ' + ISTRL(r)
Parameter |
Description |
n |
Real number whose integer portion is converted to a character string. The non-integer (to the right of the decimal point) portion gets truncated. |