@easymoney/bigint-money
Version:
Best way to do money in js
5 lines • 436 B
TypeScript
import { RoundingModesType } from "@easymoney/core";
export declare function bigIntAbs(value: bigint): bigint;
export declare function convertValueToBigInt(value: string | number | bigint, roundinMode: RoundingModesType): bigint;
export declare const bigIntDivide: (a: bigint, b: bigint, roundingMode: "HALF_EVEN" | "HALF_UP" | "HALF_DOWN" | "FLOOR" | "CEILING" | "DOWN" | "UP") => bigint;
//# sourceMappingURL=bigIntNumber.d.ts.map