CONV |
DEVELOPER |
Trail: PROIV Documentation > Developer > PROIV Developer > Developing Functions > Events and Logic > CONV
|
|
Purpose |
CONV converts data from alphanumeric to numeric, or vice versa, with no editing. |
Syntax |
variable = CONV(operand) |
Operation |
operand is any valid numeric or alphanumeric constant, variable, or expression. |
Remarks |
operand is checked for valid alpha characters (A-Z), numeric characters (0-9), sign character (+ or -), and decimal point (.). |
Example |
Assume #A = 100.85, #B = 32, $X = ‘ABC’, $Y = ‘1346.99-‘ #MAX = CONV($Y)..........sets #MAX to 1346.99- SEQ-NO = CONV(CUSTNO) results in the following values: CUSTNO = CONV(SEQ-NO) results in the following values: |
Topic ID: 520033