Hello,
I would like to convert numbers or currency fields to words using JS or plugins.
For example: If the total cost is 10,000$, a JS should be triggered and set the value of the field in the form to Ten thousand Dollars.
The below API achieves what I am looking for but I am wondering if we could have a native function instead of the API:
https://github.com/BitWeb/number-to-words-api
We might have the total cost value in different currencies (Australian, Canadian, etc..)
How would you suggest achieving the above requirements? Can you provide an example?
Any help is greatly appreciated.
Best regards,
EBMRay