aboutsummaryrefslogtreecommitdiffstats
path: root/packages/utils/src/configured_bignumber.ts
blob: e44c062c21dcf428fbdd45e643b466ffe7f21f0a (plain) (blame)
1
2
3
4
5
6
7
8
9
import { BigNumber } from 'bignumber.js';

// By default BigNumber's `toString` method converts to exponential notation if the value has
// more then 20 digits. We want to avoid this behavior, so we set EXPONENTIAL_AT to a high number
BigNumber.config({
    EXPONENTIAL_AT: 1000,
});

export { BigNumber };