Neverending Programming Mistakes

    @ethersproject/bignumber
    TypeScript icon, indicating that this package has built-in type declarations

    5.5.0 • Public • Published

    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

    Install

    npm i @ethersproject/bignumber

    DownloadsWeekly Downloads

    448,382

    Version

    5.5.0

    License

    MIT

    Unpacked Size

    144 kB

    Total Files

    40

    Last publish

    Collaborators

    • ricmoo