UNPKG

xe-utils-es

Version:

JavaScript 函数库、工具类

31 lines (30 loc) 947 B
import random from './random'; import commafy from './commafy'; import toFixed from './toFixed'; import toNumberString from './toNumberString'; import add from './add'; import subtract from './subtract'; import multiply from './multiply'; import divide from './divide'; import sum from './sum'; import mean from './mean'; declare const numberExports: { random: typeof random; min: (arr: any, iterate: any) => any; max: (arr: any, iterate: any) => any; commafy: typeof commafy; round: (num: any, digits: any) => any; ceil: (num: any, digits: any) => any; floor: (num: any, digits: any) => any; toFixed: typeof toFixed; toNumber: (str: any) => any; toNumberString: typeof toNumberString; toInteger: (str: any) => any; add: typeof add; subtract: typeof subtract; multiply: typeof multiply; divide: typeof divide; sum: typeof sum; mean: typeof mean; }; export default numberExports;