UtilsConversion library
Classes
Constants
- BASE_CONVERSION → const int
-
3
- LINEAR_CONVERSION → const int
-
1
- RECIPROCAL_CONVERSION → const int
-
2
Functions
-
baseToDec(
String toBeConverted, int base) → String -
decToBase(
String stringDec, int base) → String -
getBaseRegExp(
int base) → RegExp -
mantissaCorrection(
double value, int significantFigures, bool removeTrailingZeros) → String - Given a double value it returns its rapresentation as a string with few tweaks: significantFigures is the number of significant figures to keep, removeTrailingZeros say if non important zeros should be removed, e.g. 1.000000 --> 1