Re: Number to text

2010-12-09 Thread André Bisseret
;hundred" into > theTextNumber >exit switch > end if > > if char 2 of fld 1 = 0 AND char 3 of fld 1 > 0 then >put item (char 1 of fld 1) of singles && "hundred and" && item > (char 3 of fld 1) of singles

RE: Number to text

2010-12-08 Thread John Dixon
t; && item (char 2 of fld 1) of tens && item (char 3 of fld 1) of singles into theTextNumber exit switch end if if char 2 of fld 1 > 0 AND char 3 of fld 1 > 0 then put item (char 1 of fld 1) of singles && "hu

RE: Number to text

2010-12-08 Thread John Dixon
Make two fields... one button button script... on mouseUp put empty into fld 2 put ("one","two","three","four","five","six","seven","eight","nine") into singleNumbers put ("eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen") into mixedUpN

Re: Number to text

2010-12-08 Thread Marty Knapp
Hershel, Flexible Learning has a stack call "amountInWords" that converts numbers (currency) into words - perhaps that would give you a good start: Marty Knapp Hi any Idea on how to go about calculating numbers to text eg. 100, One Hundred, ? Thanks, H

Re: Number to text

2010-12-08 Thread Mark Schonewille
Hi Hershel, Search on the HyperCard list on Yahoo. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 How to receive a free Color Converter license http://qurl.tk/kv

Number to text

2010-12-08 Thread Hershel Fisch
Hi any Idea on how to go about calculating numbers to text eg. 100, One Hundred, ? Thanks, Hershel ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http: