B4A Library Convert Numbers to Words

Hi.
With this library you can convert numbers to words
example : convert 1200000000 to "one billion two hundred million"
in next version add other language to library if it is good

Code: Copy
     Dim i As Number2Words
     Log(i.EnglishNumberToWords(1200000000))
 

Attachments

you'll have fun with other languages. :)

In dutch (and german?) they start with the last part of the number than the first. (or last, first, second see below)

34 > thirty four (eng) > four and thirty (dutch and roughly translated)
128 > one hundred twenty eight > hundred eight and twenty
 
you'll have fun with other languages. :)

In dutch (and german?) they start with the last part of the number than the first. (or last, first, second see below)

34 > thirty four (eng) > four and thirty (dutch and roughly translated)
128 > one hundred twenty eight > hundred eight and twenty
Also applies to Afrikaans
34 > vier-en-dertig
128 > honderd agt en twintig
:)
 
Last edited:
Back
Top