I am trying to convert numbers to English words, e.g. 123 -> One hundred twenty three. After some searching, I have been unable to find any info on this. I could certainly write code to do it, but my question is this: Does anyone know of a function that does this? Thanks, Derek McCrae Norton
On Sep 14, 2009, at 2:11 PM, Derek Norton wrote:> I am trying to convert numbers to English words, e.g. 123 -> One > hundred twenty three. After some searching, I have been unable to > find any info on this. I could certainly write code to do it, but my > question is this: Does anyone know of a function that does this?http://search.r-project.org/cgi-bin/namazu.cgi?query=convert+hundred+thousand+twenty+thirty+forty&idxname=functions&idxname=Rhelp08&idxname=views David Winsemius, MD Heritage Laboratories West Hartford, CT
See this post from the past (by John Fox): http://finzi.psych.upenn.edu/R/Rhelp02a/archive/46843.html -Johannes 2009/9/14 Derek Norton <dnorton1@gmail.com>> I am trying to convert numbers to English words, e.g. 123 -> One > hundred twenty three. After some searching, I have been unable to > find any info on this. I could certainly write code to do it, but my > question is this: Does anyone know of a function that does this? > > Thanks, > Derek McCrae Norton > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]
Derek Norton <dnorton1 <at> gmail.com> writes:> I am trying to convert numbers to English words, e.g. 123 -> One > hundred twenty three. After some searching, I have been unable to > find any info on this. I could certainly write code to do it, but my > question is this: Does anyone know of a function that does this? > > Thanks, > Derek McCrae NortonTry Rnews Volume 5/1, May 2005, The Programmer's Niche by John Fox How Do You Spell That Number? -- Ken Knoblauch Inserm U846 Stem-cell and Brain Research Institute Department of Integrative Neurosciences 18 avenue du Doyen L?pine 69500 Bron France tel: +33 (0)4 72 91 34 77 fax: +33 (0)4 72 91 34 61 portable: +33 (0)6 84 10 64 10 http://www.sbri.fr/members/kenneth-knoblauch.html