Convert toBeConverted, the String representation of a value with a certain
base (E.g. 16 for hexadecimal, 2 for binary, etc.), to another String
expressed with the decimal base.
Convert stringDec, the String representation of a decimal value (e.g.
"10"), to another base depending of the value of base (E.g. 16 for
hexadecimal, 2 for binary, etc.).
Given a double value it returns its representation 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