Creates a new Big instance.
The value to create the Big instance from.
Creates a new Big instance.
The value to create the Big instance from. It Can be a number, string, or BigInt.
Creates a new Big instance.
The value to create the Big instance from. Can be a number, string, or BigInt.
Optional
scale: string | numberThe scale for the value (optional), representing the number of decimal places. If scale provided and value has a fractional part, the fractional part will be removed.
The scale of the Big instance, representing the number of decimal places.
The value of the Big instance.
Generated using TypeDoc
The Big class for working with large numbers and fractions using BigInt.
Example