Convert 9 Digit Number to Words

Rauf

Rauf

VIP Member
I'm surprised, because I could not find any "working" business function(including X00500*) to convert 9 digit number ( 100 million and above) to words
 
X00500 will ONLY go up to 90 Million yes.
The Russian one goes higher by the look of it
 
But it is in Russian.
I'm not in a situation to develop new one. But I will create it.

Is there any C code available so that I can 'just' copy paste for the time being.
 
Don,

I have converted this to NER, and it works fine.

I can share if anybody needs.
 
Rauf,

I'm glad you were able to convert this into NER. Sometimes the translation is a bit tricky. If you want to post the code, then it would be available to JDElisters anytime they might need it.

Good job!
 
Thank you very much Don ( A token of appreciation is a perfect gift )
I have attached the code.
To get immediate result ( to satisfy myself and to motivate myself), I have done put some hard coded texts( like 'and', 00/100, 'Riyal (~ Dollar)', 'Halala (~Cent )'
Also did not use 'data item alias' for variable names ( :p ), it may be little hard to understand.
 

Attachments

  • ConvertAmountToWords.zip
    3.5 KB · Views: 6
Last edited:
Back
Top