Scientific

constructor(minIntegerDigits: UInt, maxIntegerDigits: UInt = minIntegerDigits, minFractionDigits: UInt, maxFractionDigits: UInt, minExponent: UInt, roundingMode: RoundingMode = RoundingMode.HalfEven)

Parameters

minIntegerDigits

The minimum number of integer digits to show in the mantissa. Defaults to 1U.

maxIntegerDigits

The maximum number of integer digits to show in the mantissa. If this is greater than minIntegerDigits, it forces the exponent to be a multiple of maximum number of integer values. Otherwise the minimum number of integer digits is achieved by adjusting the exponent. Defaults to minIntegerDigits

minFractionDigits

The minimum number of decimal digits to show in the mantissa. Defaults to 1U.

maxFractionDigits

The maximum number of decimal digits to show in the mantissa. Defaults to 16U.

minExponent

The minimum number of digits to show in the exponent. Defaults to 1U.

roundingMode

The RoundingMode to be applied. Defaults to RoundingMode.HalfEven.