Jul 16, 2015 Replies: 10 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 B4X: Dim i As Number2Words Log(i.EnglishNumberToWords(1200000000)) Attachments Archive.zip 2.2 KB · Views: 513 Click to expand...
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 B4X: Dim i As Number2Words Log(i.EnglishNumberToWords(1200000000))
MarcoRome Expert Licensed User Longtime User Jul 16, 2015 #2 God job Omid Is it possible convert also in another language ? opps... i see that you already ready for this Thank you
God job Omid Is it possible convert also in another language ? opps... i see that you already ready for this Thank you
omidaghakhani1368 Well-Known Member Licensed User Longtime User Jul 16, 2015 #3 MarcoRome said: God job Omid Is it possible convert also in another language ? opps... i see that you already ready for this Thank you Click to expand... of course,now i should working hard on my project,when free my time i add new language
MarcoRome said: God job Omid Is it possible convert also in another language ? opps... i see that you already ready for this Thank you Click to expand... of course,now i should working hard on my project,when free my time i add new language
NJDude Expert Licensed User Longtime User Jul 18, 2015 #5 Just make sure you deal with POSITIVE numbers, entering something like: B4X: n2w.EnglishNumberToWords(-200) Will return the wrong result.
Just make sure you deal with POSITIVE numbers, entering something like: B4X: n2w.EnglishNumberToWords(-200) Will return the wrong result.
omidaghakhani1368 Well-Known Member Licensed User Longtime User Aug 6, 2015 #6 NJDude said: Just make sure you deal with POSITIVE numbers, entering something like: B4X: n2w.EnglishNumberToWords(-200) Will return the wrong result. Click to expand... Oooof i didn't understand but you can place "Minus" before word maybe?
NJDude said: Just make sure you deal with POSITIVE numbers, entering something like: B4X: n2w.EnglishNumberToWords(-200) Will return the wrong result. Click to expand... Oooof i didn't understand but you can place "Minus" before word maybe?
S sorex Expert Licensed User Longtime User Aug 6, 2015 #7 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
Johan Schoeman Expert Licensed User Longtime User Aug 7, 2015 #8 sorex said: 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 Click to expand... Also applies to Afrikaans 34 > vier-en-dertig 128 > honderd agt en twintig Last edited: Aug 7, 2015
sorex said: 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 Click to expand... Also applies to Afrikaans 34 > vier-en-dertig 128 > honderd agt en twintig
jsanchezc Member Licensed User Longtime User Aug 7, 2015 #9 Good job!!, Thanks!!! I can help to add Spanish language, feel free to contact.
Mashiane Expert Licensed User Longtime User Aug 15, 2020 #11 omidaghakhani1368 said: With this library you can convert numbers to words Click to expand... Hi, can you please provide the source code for this, i'd like to use it for a BAnano project im working on. Thanks,
omidaghakhani1368 said: With this library you can convert numbers to words Click to expand... Hi, can you please provide the source code for this, i'd like to use it for a BAnano project im working on. Thanks,