@numio/bigmath
Version:
@numio/bigmath is an arbitrary-precision arithmetic library. It can be used for basic operations with decimal numbers (integers and float)
15 lines (14 loc) • 304 B
JavaScript
export const UP = "up";
export const DOWN = "down";
export const HALF_UP = "half-up";
export const HALF_DOWN = "half-down";
export const HALF_EVEN = "half-even";
export const HALF_ODD = "half-odd";
export const ROUND_MODE = [
UP,
DOWN,
HALF_UP,
HALF_DOWN,
HALF_EVEN,
HALF_ODD,
];