NumExtensionPlus extension
- on
Properties
- daysToHours → num
-
Transform number of days into hours
no setter
- hoursToDays → num
-
Transform number of hours into days
no setter
- hoursToMinutes → num
-
Transform number of hours into minutes
no setter
- isNullOrZero → bool
-
Checks whether number is 0 or null
no setter
- minutesToHours → num
-
Transform number of minutes into hours
no setter
- secondsToHours → num
-
Transform number of seconds into hours
no setter
- secondsToMinutes → num
-
Transform number of seconds into minutes
no setter
Methods
-
toCurrency(
{bool? withSymbol}) → String? - Num to locale currency with symbol or not
-
toCurrencyCompact(
{bool? withSymbol}) → String? - Num to locale compact currency with symbol or not
-
toPrecision(
int fractionDigits) → double - Num with specific fraction digits