Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
TypeError: Cannot implicitly convert a number with >15 significant digits to BigNumber #1269
Here's my code:
I'm expecting the result '400'.
It works fine without configuring with BigNumber, but I do need to use BigNumber on my math object in general, as high precision might be important for the calculation and I don't know the user's expression ahead of time. I've tried BigNumbering parts of the expression, but haven't had any luck.
This is because of the hard-coded
I submitted PR #1270 which fixes the bug in this particular case, but I don't know if it's a permanent fix. It seems a little sloppy. I would have rather applied the fix to