heyman333 / react-animated-numbers

👾 Library showing animation of number changes in react.js
MIT License
249 stars 30 forks source link

fix: render decimal point properly #23

Closed pjc0247 closed 2 years ago

pjc0247 commented 2 years ago

another PR that also respect the includeComma option.

(1234.99 should be rendered as 1,234.99. previous PR was 1,234,.99.)

heyman333 commented 2 years ago

Oh! As you said, that was common issue with floating point in JS. Thank you for your hard work!

This closes #9