RPGNext
Take Your RPG Development to theNextLevel
Site Links
Home
RPG Programming
xRPG Downloads
xRPG Docs
About This Site
About Me

RPG Gurus
Bob Cozzi
Brad Stone
Scott Klement
Jon Paris

iSeries Links
Alpha Works
Midrange.com
FAQ@Midrange.com
MidrangeServer.com
IBM Docs
iSeries Infocenter
MCPress
Easy400
API Finder

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.
Name Type Options Opt/Req Description
string 32 Value Req The string to convert to numeric.
Returns: 30,9 n/a n/a The converted numeric value.

This site conforms with the following W3C specifications:

Web Essentials

Contact