Formats a number with the specified significant digits and maximum fraction digits.
the number to format
the number of significant digits in the output to aim for
hard limit for the number of digits after the decimal dot
the formatted number
Formats a number with the specified significant digits and maximum fraction digits.