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: numToWords()


Convert an integer to words.

Usage:

numToWords( number : {format} : {sepChar} );

A handy utility for printing checks, legal documents, etc.
Name Type Options Opt/Req Description
number 20i 0 Const Req The number to convert.
format 5A Const Opt 'upper' returns name in all upper case; 'lower' returns name in all lower case; 'mixed' returns name in mixed case. If not sent then 'upper' is default.
sepChar 1A Const Opt The seperator character to use if parm2 is not sent or *ON. If sepChar not sent then ' ' is default.
Returns: 1024 Varying n/a The string representation of the number.

This site conforms with the following W3C specifications:

Web Essentials

Contact