fabric
Version:
Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.
8 lines • 377 B
TypeScript
/**
* A wrapper around Number#toFixed, which contrary to native method returns number, not string.
* @param {number|string} number number to operate on
* @param {number} fractionDigits number of fraction digits to "leave"
* @return {number}
*/
export declare const toFixed: (number: number | string, fractionDigits: number) => number;
//# sourceMappingURL=toFixed.d.ts.map