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.
decimalSeparator is the string used to separate the integer part from the
decimal one (default is ".").
E.g. 1.000000 --> 1