marlun78 / number-to-words

Converts a number to words
MIT License
225 stars 76 forks source link

Could I use with "decimal number"? #9

Open thearabbit opened 8 years ago

thearabbit commented 8 years ago

Could I use with "decimal number"?

123456.789
marlun78 commented 8 years ago

Currently it's not supported. I'm considering this for 2.x.

ghost commented 8 years ago

@marlun78 Please is the v2.x out? Because i need the decimal number.

icyflame commented 7 years ago

Hey @marlun78, the decimal part should be easier than the normal ones. I will look through your code and work on this. What would you want to be the output if someone requests an ordinal of a decimal number? The digits after the decimal point don't matter, right?

tofutim commented 4 years ago

Hi, for 25.42 I would like twenty-five point four two. @icyflame did you ever make any changes for decimals?

icyflame commented 4 years ago

@tofutim Ah! No, I never got to this actually. 😭 👍

multipliedtwice commented 3 years ago

Hi. Is there any progress on that?

grahampcharles commented 3 years ago

I just added a PR to do this. Feel free to pull from my repo if you're desperate for this, but I don't plan to maintain my fork -- better to keep track of this one.

https://github.com/grahampcharles/number-to-words