How to use the prototype function from bignumber.js

Find comprehensive JavaScript bignumber.js.prototype code examples handpicked from public code repositorys.

374
375
376
377
378
379
380
381
382
383

// The maximum number of significant digits of the result of the exponentiatedBy operation.
// If POW_PRECISION is 0, there will be unlimited significant digits.
POW_PRECISION = 0,                       // 0 to MAX

// The format specification used by the BigNumber.prototype.toFormat method.
FORMAT = {
  prefix: '',
  groupSize: 3,
  secondaryGroupSize: 0,
fork icon0
star icon0
watch icon0