NumConversionExtensions extension
Num Conversion extensions
- on
Properties
- daysDuration → Duration
-
Creates a Duration object for days.
no setter
- decimal → Decimal?
-
Attempts to convert the number to a
Decimal
.no setter - hoursDuration → Duration
-
Creates a Duration object for hours.
no setter
- microsecondsDuration → Duration
-
Creates a Duration object for microseconds.
no setter
- millisecondsDuration → Duration
-
Creates a Duration object for milliseconds.
no setter
- minutesDuration → Duration
-
Creates a Duration object for minutes.
no setter
- secondsDuration → Duration
-
Creates a Duration object representing a number of seconds.
no setter
- toDateTime → DateTime?
-
Converts this number to a DateTime object based on the number of digits.
no setter
-
toList
→ List<
int> -
Generates a list of integers from 0 up to (but not including) this integer.
no setter