I need to convert my total amount value into words which are in UAE format(AED currency). How can convert?
I tried many solutions but no one gives me the correct output. Please help me.
Ex: AED Three Hundred Eighty-Seven and Forty-Five Fils Only
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I need to convert my total amount value into words which are in UAE format(AED currency). How can convert?
I tried many solutions but no one gives me the correct output. Please help me.
Ex: AED Three Hundred Eighty-Seven and Forty-Five Fils Only
It is possible that using the num2words python library will be the solution for you.
I tried, but get output in EURO currency. Can you please explain this in detail?
num2words(number, lang=lang, to=to, seperator=seperator, currency=currency)
example:
num2words(amount, lang=lang.iso_code, to='currency', seperator=_(' and'), currency=currency.name)
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up