NumConversionExtensions extension

Num Conversion extensions

on

Properties

days → Duration

Available on num, provided by the NumConversionExtensions extension

Returns a Duration representing this number in days.
no setter
daysDuration → Duration

Available on num, provided by the NumConversionExtensions extension

Creates a Duration object for days.
no setter
decimal → Decimal

Available on num, provided by the NumConversionExtensions extension

Attempts to convert the number to a Decimal.
no setter
hours → Duration

Available on num, provided by the NumConversionExtensions extension

Returns a Duration representing this number in hours.
no setter
hoursDuration → Duration

Available on num, provided by the NumConversionExtensions extension

Creates a Duration object for hours.
no setter
microseconds → Duration

Available on num, provided by the NumConversionExtensions extension

Returns a Duration representing this number in microseconds.
no setter
microsecondsDuration → Duration

Available on num, provided by the NumConversionExtensions extension

Creates a Duration object for microseconds.
no setter
milliseconds → Duration

Available on num, provided by the NumConversionExtensions extension

Returns a Duration representing this number in milliseconds.
no setter
millisecondsDuration → Duration

Available on num, provided by the NumConversionExtensions extension

Creates a Duration object for milliseconds.
no setter
minutes → Duration

Available on num, provided by the NumConversionExtensions extension

Returns a Duration representing this number in minutes.
no setter
minutesDuration → Duration

Available on num, provided by the NumConversionExtensions extension

Creates a Duration object for minutes.
no setter
seconds → Duration

Available on num, provided by the NumConversionExtensions extension

Returns a Duration representing this number in seconds.
no setter
secondsDuration → Duration

Available on num, provided by the NumConversionExtensions extension

Creates a Duration object representing a number of seconds.
no setter
toDateTime → DateTime

Available on num, provided by the NumConversionExtensions extension

Converts this number to a DateTime object based on the number of digits.
no setter
toList → List<int>

Available on num, provided by the NumConversionExtensions extension

Generates a list of integers from 0 up to (but not including) this integer.
no setter