UNPKG

svg-path-d

Version:

SVG path data (path[d] attribute content) manipulation library.

8 lines (7 loc) 402 B
/** * Returns a string representing a number in fixed-point notation. * @param value The number. * @param maximumFractionDigits Number of digits after the decimal point. Must be in the range 0 - 20, inclusive. */ export declare function formatDecimal(value: number, maximumFractionDigits?: number): string; export declare function formatDigit(value: number, fractionDigits: number): string;