@mikezimm/fps-core-v7
Version:
Library of reusable core interfaces, types and constants migrated from fps-library-v2
12 lines • 406 B
TypeScript
/**
* getSumableNumber will take any value and convert it to a number that can be sumable like:
* x += numb;
* x += getSumableNumber( numb, 'parseFloat', 0 );
*
* @param numb
* @param forStrings
* @param forNAN
* @returns
*/
export declare function getSumableNumber(numb: any, forStrings?: 'parseFloat' | 'zero', forNAN?: number): number;
//# sourceMappingURL=getNumber.d.ts.map