# NumUtil class

Num Util.

NumUtil()

## Properties

hashCode int
The hash code for this object. [...]
runtimeType Type
A representation of the runtime type of the object.

## Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString()
A string representation of this object. [...]
inherited

## Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

## Static Methods

divide(num a, num b)

divideDec(num a, num b)

divideDecStr(String a, )
getDoubleByValueStr(String valueStr, {double defValue = 0})
get double by value str.
getIntByValueStr(String valueStr, {int defValue = 0}) int
get int by value str.
getNumByValueDouble(double value, int fractionDigits) num
The parameter `fractionDigits` must be an integer satisfying: `0 <= fractionDigits <= 20`.
getNumByValueStr(String valueStr, {int fractionDigits}) num
The parameter `fractionDigits` must be an integer satisfying: `0 <= fractionDigits <= 20`.
greaterOrEqual(num a, num b) bool
Relational greater than or equal operator.
greaterOrEqualDecStr(String a, ) bool
Relational greater than or equal operator.
greaterThan(num a, num b) bool
Relational greater than operator.
greaterThanDecStr(String a, ) bool
Relational greater than operator.
isZero(num value) bool
isZero
lessThan(num a, num b) bool
Relational less than operator.
lessThanDecStr(String a, ) bool
Relational less than operator.
multiply(num a, num b)

multiplyDec(num a, num b)

multiplyDecStr(String a, )
remainder(num a, num b)

remainderDecStr(String a, )

subtract(num a, num b)

subtractDec(num a, num b)

subtractDecStr(String a, )
thanOrEqual(num a, num b) bool
Relational less than or equal operator.
thanOrEqualDecStr(String a, ) bool
Relational less than or equal operator.