徐总多门店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
811 B

5 months ago
export interface CommafyOptions {
/**
* 3
*/
spaceNumber?: number;
/**
* ','
*/
separator?: string;
/**
* number ,null
*/
digits?: number;
/**
* number true
*/
round?: boolean;
/**
* number
*/
ceil?: boolean;
/**
* number
*/
floor?: boolean;
}
/**
*
* @param num /
* @param options
*/
export declare function commafy(num: string | number, options?: CommafyOptions): string;
declare module './ctor' {
interface XEUtilsMethods {
commafy: typeof commafy;
}
}
export default commafy