SciFloatFormatter class Null safety
- Inheritance
-
- Object
- FloatFormatter
- SciFloatFormatter
- Annotations
Constructors
- SciFloatFormatter(int fractionDigits)
-
const
Properties
- fractionDigits → int
-
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
constrainExponent(
int exp) → int -
inherited
-
format(
Value v, bool windowEnabled) → String -
override
-
formatFixed(
Value v, int fractionDigits) → String? -
inherited
-
formatMantissaU(
Value v, int digits) → String -
Format the unsigned part of the mantissa to the given number of digits.
Result will be either digits or digits+1 characters long.
inherited
-
formatScientific(
Value v, int digits) → String -
Format in scientific format, as modified by the
(potentially overridden) constrainExponent function.
inherited
-
leastSignificantDigit(
double value) → int -
See DisplayMode.leastSignificantDigit
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
round(
Value v) → Value -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited