I have for ex this number 1202445.56 and I want to get in letters one million two hundred two thousands four hundred forty four and fifty six? It's possible to do this in both languages PHP and JavaScript? If yes, how?
Asked
Active
Viewed 36 times
0
-
You can split each character and then write a switch case which will return value in words. And yes it can be done in both language. – Rajesh Jan 11 '16 at 10:37
-
you will need to write a custom function, as fas as I know PHP doesn't have a built-in function for that :/ – Andrew Jan 11 '16 at 10:38