Millwork
    Preparing search index...

    Interface DecimalLike

    The methods that the codec uses. decimal.js, big.js and bignumber.js all have them.

    interface DecimalLike {
        eq(other: never): boolean;
        toFixed(scale?: number): string;
    }
    Index
    • Returns true if the other number is equal.

      Parameters

      • other: never

      Returns boolean

    • Writes the number with scale digits after the point.

      Parameters

      • Optionalscale: number

      Returns string