xRPG Core Library Procedures - RNBMISC: charToNum()
Convert character to numeric.
Usage:
charToNum( string );
I don't honestly remember where I got this but I did not write it.
I think it was either from Barbara Morris or Brad Stone.
At any rate, in V5R2 this will no longer be necessary and could
already be replaced by 'atof' and 'atoi' or a hundred other methods.
| string |
32 |
Value |
Req |
The string to convert to numeric. |
| Returns: |
30,9 |
n/a |
n/a |
The converted numeric value. |