+ 1

#Challenge Convert Number into text

please help me convert any number from 0 to trillion into text and add FCFA at the end of the text. for example; 123 should output " one hundred and twenty three FCFA". The number should have no decimal places and should be rounded up to the nearest five; like 123 should be rounded to 125 and 126 should be rounded up to 130. I hope it's understood

15th Dec 2017, 3:59 PM
Mohamed Gadaphy Nkwenkwat
Mohamed Gadaphy Nkwenkwat - avatar
2 Answers
+ 9
I just drag this from my old tool box 😁,you could twerk it to fit what you want. I not yet done, was lazy. https://code.sololearn.com/cADXEvmKb5gr/?ref=app
15th Dec 2017, 5:17 PM
Justine Ogaraku
Justine Ogaraku - avatar
+ 9
Another : Check this out https://code.sololearn.com/cfK19oxN4cIg/?ref=app Edit: The Code isn't mine. But you could reference the owner
15th Dec 2017, 5:18 PM
Justine Ogaraku
Justine Ogaraku - avatar