What did I do wrong? Where is the bug? Why does it not work perfectly? ![]() Somehow it "forgets" the last numbers when there are a few zeros. It seems to work pretty well, but I've got some problems with numbers like 19000000 9, converted to: " one hundred ninety million". If the finlOutPut cell equals "dontAddBigSufix" (because it was only zeroes), don't add the word and set the cell to " " (nothing). If all the three digits are zero convert them to "dontAddBigSuffix"įrom Right to left, add thousand, million, billion, etc. ![]() Separate the digits to three and put them on Array ( finlOutPut), from right to left.Ĭonvert each group (each cell in the finlOutPut array) of three digits to a word (this what the triConvert function does). ![]() I'm trying to convert numbers into english words, for example 1234 would become: " one thousand two hundred thirty four".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |