Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Potential Bug in Number Format Code (PartitionNumberPattern) #314

Open
d-oderbolz opened this issue Jul 13, 2018 · 0 comments
Open

Potential Bug in Number Format Code (PartitionNumberPattern) #314

d-oderbolz opened this issue Jul 13, 2018 · 0 comments

Comments

@d-oderbolz
Copy link

I think line 606 of file

https://github.com/andyearnshaw/Intl.js/blob/master/src/11.numberformat.js

is wrong. It reads

fraction = n.substring(decimalSepIndex + 1, decimalSepIndex.length);

But it should be

fraction = n.substring(decimalSepIndex + 1, n.length);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant