FloatFormatter class Null safety
- Implementers
- Annotations
Constructors
- FloatFormatter()
-
const
Properties
- fractionDigits → int
-
read-only
- 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 -
format(
Value v, bool windowEnabled) → String -
formatFixed(
Value v, int fractionDigits) → String? -
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.
-
formatScientific(
Value v, int digits) → String - Format in scientific format, as modified by the (potentially overridden) constrainExponent function.
-
leastSignificantDigit(
double value) → int - See DisplayMode.leastSignificantDigit
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
round(
Value v) → Value -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited