UNPKG

@numio/bigmath

Version:

@numio/bigmath is an arbitrary-precision arithmetic library. It can be used for basic operations with decimal numbers (integers and float)

9 lines (8 loc) 269 B
import type { BI } from "../shared/types.d.ts"; export type MADFrom = "mean" | "median"; type Options = { from: MADFrom; }; export type TMAD = (array: string[], options?: Options) => string; export type TMADInner = (array: BI[], options: Options) => BI; export {};