This function converts a number to TEXT. The input number is rounded off to zero decimal positions. This function makes it possible to turn a NUMBER into TEXT. This is useful if, for instance, the database values retrieved are NUMBERs where TEXT is needed.
numerals ( input_number )
The result of this function is of type TEXT; the input_number rounded to zero decimals as a TEXT.
This function has one parameter:
@( numerals( 1223.435 ) )
Result: 1223
Note that the construction @ ( ) around the function means that the result of the function is displayed in the text. This construction must be used in a text part of a model document. The switch from ITP mode to text mode in a model document is made with the # characters. An ITP Model document starts in text model, the #BEGIN makes the switch to ITP mode.