coersystem
Version:
Library for Angular projects
14 lines (13 loc) • 699 B
TypeScript
/** Provides several methods for string manipulation */
export declare class Numbers {
/** Validates if the value is a numeric type */
static IsNumber(value: any): boolean;
/** Validates if the value isn't a numeric type */
static IsNotNumber(value: any): boolean;
/** */
static SetDecimals(value: string | number | null | undefined, decimals?: number): string;
/** Return a string with numeric format */
static GetNumericFormat(value: string | number | null | undefined, decimals?: number): string;
/** Return a string with currency format */
static GetCurrencyFormat(value: string | number | null | undefined, symbol?: string, currency?: string): string;
}