@ppramanik62/lab-works
Version:
A comprehensive command-line toolkit for hydraulic turbine calculations, supporting Francis Turbine and Pelton Wheel computations with interactive mode and validation.
16 lines • 479 B
TypeScript
/**
* Utility functions for number rounding and formatting
*/
/**
* Round number to three decimal places
*/
export declare const threeDecimal: (num: number) => number;
/**
* Round number to specified decimal places
*/
export declare const roundTo: (num: number, decimals: number) => number;
/**
* Format number for display with consistent decimal places
*/
export declare const formatNumber: (num: number, decimals?: number) => string;
//# sourceMappingURL=round.d.ts.map