Closed hmizutanitsi closed 5 years ago
Number: Added zero check for toPrecision
"formatNumber returns NaN for 0, if max/minimumSignificantDigits is set
Fixed: #706
Awesome, thank you for your fix. Please, can we add a unit test to confirm it?
No problem! I added a case to test number==0.
Thank you!
Number: Added zero check for toPrecision
"formatNumber returns NaN for 0, if max/minimumSignificantDigits is set
Fixed: #706