NumberUtil class

Handle number methods.

Constructors

NumberUtil()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

numberPowToInt({required dynamic value, required int pow}) → int
toDouble(dynamic value, {int? decimal}) → double
Handle the value to double.
toFixedDouble({required dynamic value, required int decimal}) → double
Fix double for specified digit. It returned double.
toInt(dynamic value) → int
Handle the value to int.
toSafeDoubleString(String value) → String