helpers library
Extensions
Functions
-
roundToNDecimals(
double aArrondir, {int nbDecimales = 2}) → double -
Round a double input
aArrondir
tonbDecimales
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
tonbDecimales
decimals (if not provided, 2 decimals)