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)

13 lines (12 loc) 287 B
import type { BI } from "../shared/types.d.ts"; export type Quartile = (array: string[]) => { Q1: string; Q2: string; Q3: string; }; export type MeanQ = (index: number, array: BI[]) => BI; export type QuartileInner = (array: BI[]) => { Q1: BI; Q2: BI; Q3: BI; };