attic/helpers library

Functions

roundToNDecimals(double aArrondir, {int nbDecimales = 2}) double
Round a double input aArrondir to nbDecimales decimals (if not provided, 2 decimals)
signedRoundToNDecimals(double aArrondir, {int nbDecimales = 2}) String
Provide a plus or a minus sign, and round a double input aArrondir to nbDecimales decimals (if not provided, 2 decimals)