number-to-words icon indicating copy to clipboard operation
number-to-words copied to clipboard

Could I use with "decimal number"?

Open thearabbit opened this issue 8 years ago • 7 comments

Could I use with "decimal number"?

123456.789

thearabbit avatar Mar 28 '16 09:03 thearabbit

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

marlun78 avatar Mar 28 '16 11:03 marlun78

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

ghost avatar Oct 31 '16 12:10 ghost

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?

icyflame avatar Oct 10 '17 11:10 icyflame

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

tofutim avatar Apr 30 '20 16:04 tofutim

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

icyflame avatar May 01 '20 06:05 icyflame

Hi. Is there any progress on that?

multipliedtwice avatar Feb 05 '21 04:02 multipliedtwice

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

grahampcharles avatar Apr 27 '21 05:04 grahampcharles