Compute a representation in exponential format with the requested number of digits after the decimal point. The last emitted digit is rounded. If -1 digits are requested, then the shortest exponential representation is computed.
Compute a decimal representation with a fixed number of digits after the decimal point. The last emitted digit is rounded.
precision leading digits of the given value either in
exponential or decimal format. The last computed digit is rounded.