Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

BigNumber() number type has more than 15 significant digits #770

Open
rbj325 opened this issue Feb 26, 2018 · 1 comment
Open

BigNumber() number type has more than 15 significant digits #770

rbj325 opened this issue Feb 26, 2018 · 1 comment

Comments

@rbj325
Copy link

rbj325 commented Feb 26, 2018

The exact error message in the dev tools console is:

error fetching defaults: BigNumber Error: new BigNumber() number type has more than 15 significant digits: 0.7748867277172958

It is being thrown from this line:

console.error('error fetching defaults: ' + e.toString())

I am on v1.3.1 on Windows Server 2016 and hosting space.

@juan-cortes
Copy link

This used to be related to the way BigNumber handled longer numbers when ERRORS was set to true, however this has changed since March because they removed ERRORS, so if this is still an issue, the call to BigNumber should be new BigNumber(res.conversionrate.toString()) instead.

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

2 participants