utcnum.wbb

Convert formatted numeric text string to a number.

Syntax

CALL "utcnum.wbb",text$,value

This low-level routine converts a text string to a number, ignoring currency symbols and other nonnumeric characters. In PRO/5, it is also sensitive to the OPTS byte 6 position for the decimal character.

The characters "(" and "-" are both interpreted to indicate that the number is negative.

text$ contains the text to be converted, and value returns the numeric value, or 0 if the conversion fails.

 
Return to first page