JSPM

  • Created
  • Published
  • Downloads 1400710
  • Score
    100M100P100Q202564F
  • License MIT

BigNumber library used in ethers.js.

Package Exports

  • @ethersproject/bignumber
  • @ethersproject/bignumber/lib/bignumber

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ethersproject/bignumber) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Big Numbers

This sub-module is part of the ethers project.

It is responsible for handling arbitrarily large numbers and mathematic operations.

For more information, see the documentation for Big Numbers and Fixed-Point Numbers.

Importing

Most users will prefer to use the umbrella package, but for those with more specific needs, individual components can be imported.

const {

    BigNumber,

    FixedFormat,
    FixedNumber,

    formatFixed,

    parseFixed

    // Types

    BigNumberish

} = require("@ethersproject/bignumber");

License

MIT License