jsbd
Version:
[](https://www.npmjs.com/package/jsbd)
12 lines (11 loc) • 372 B
TypeScript
import { Decimal } from './decimal';
export declare type DecimalIntVal = string | number | bigint | Decimal;
export declare type DecimalSign = -1 | 1;
export declare type Exponent = {
sign: DecimalSign;
value: string;
};
export interface RoundOption {
maximumFractionDigits?: number;
roundingMode?: 'down' | 'half down' | 'half up' | 'half even' | 'up';
}