siegel
Version:
Web application development ecosystem
11 lines (10 loc) • 423 B
TypeScript
/**
* This function is to perform _add_ and _subtract_ math operations
* with float numbers to always get correct result
*
* @param precision Maximmal digits count after dot among all the next provided numbers
* @param args All the numbers to perform operations with
* @returns correct arifmetic result
*/
declare function floatArifmetic(precision: number, ...args: number[]): number;
export default floatArifmetic;