NumExtension extension
Extends the functionality of the num
class by adding various methods for formatting and working with numbers.
- on
Properties
- days → Duration
-
Returns a
Duration
object representing the number of days represented by this number.no setter - hours → Duration
-
Returns a
Duration
object representing the number of hours represented by this number.no setter - microseconds → Duration
-
Returns a
Duration
object representing the number of microseconds represented by this number.no setter - milliseconds → Duration
-
Returns a
Duration
object representing the number of milliseconds represented by this number.no setter - minutes → Duration
-
Returns a
Duration
object representing the number of minutes represented by this number.no setter - seconds → Duration
-
Returns a
Duration
object representing the number of seconds represented by this number.no setter