An up-date to my earlier post. Goodwillware numToText requires MetaCard and returns a number in words. Decimals are rounded to 2 places. 1. Syntax numToText (tAmount, [tMajor], [tMinor]) tAmount : From 0 to 999,999,999,999,999,999,999,999,999,999,999.99 [tMajor] : Optional - Defaults to "Dollar" if not specified [tMinor] : Optional - Defaults to "Cents" if not specified 2. Examples put numToText (1,020.56) into fld 1 get numToText (587946,"Pound","pence") get numToText (fld 1,"Franc","Centimes") if "error" is in it then answer it else put it into fld 2 3. Eror handling Not a number : Returns "error: not a number" Number exceeds limit: Returns "error: too big" Let me know off-list if you'd like a copy, or swap me for your own. /H Hugh Senior The Flexible Learning Company Consultant Programming & Software Solutions Fax/Voice: +44 (0)1483.27 87 27 Email: [EMAIL PROTECTED] Web: www.flexibleLearning.com Archives: http://www.mail-archive.com/[email protected]/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to <[EMAIL PROTECTED]>, not this list.
