Open skynightz opened 3 years ago
ping.. please
It's reasonable but the changes to the behaviour of toString
would break creating a BigNumber from a BigNumber's toString
value, which is unacceptable.
I modified also the toString method because it was used in toFormat for the "-Infinity" case. it wasn't formating the string in this case. I can modify my PR to change only the toFormat method.
I reverted my changes in toString method and handle the case for negative infinity in toFormat method.
Okay, I'll take a look presently.
It would be great to be able to specify a string or a character to customize negative sign of a value. It's using the character "hypen minus" (decimal code: 45) in your code and we want to use the "minus sign" (decimal code: 8722) instead.