# DoubleExtensions extension

on
  - double

## Properties

days → Duration

  Available on double, provided by the DoubleExtensions extension

  Converts the double value to a `Duration` in days.
  no setter
distance → String

  Available on double, provided by the DoubleExtensions extension

  Calculates the distance of the double value and returns it in `km` or `m`,
  no setter
hours → Duration

  Available on double, provided by the DoubleExtensions extension

  Converts the double value to a `Duration` in hours.
  no setter
length → int

  Available on double, provided by the DoubleExtensions extension

  Returns the length of this int value
  no setter
milliseconds → Duration

  Available on double, provided by the DoubleExtensions extension

  Converts the double value to a `Duration` in milliseconds.
  no setter
minutes → Duration

  Available on double, provided by the DoubleExtensions extension

  Converts the double value to a `Duration` in minutes.
  no setter
ms → Duration

  Available on double, provided by the DoubleExtensions extension

  Alias for `milliseconds`.
  no setter
seconds → Duration

  Available on double, provided by the DoubleExtensions extension

  Converts the double value to a `Duration` in seconds.
  no setter

## Methods

divideBy(double value) → double

  Available on double, provided by the DoubleExtensions extension

  Divides the current number by the given value.
equals(double other) → bool

  Available on double, provided by the DoubleExtensions extension

  Case equality check.
equalsAll(List<double> values) → bool

  Available on double, provided by the DoubleExtensions extension

  Checks if double equals all items in the list
equalsAny(List<double> values) → bool

  Available on double, provided by the DoubleExtensions extension

  Checks if double equals any item in the list
iq(double value) → int

  Available on double, provided by the DoubleExtensions extension

  Performs integer division and returns the quotient.
isEqualTo(double other) → bool

  Available on double, provided by the DoubleExtensions extension

  Case equality check.
isGreaterThan(double b) → bool

  Available on double, provided by the DoubleExtensions extension

  Checks if GREATER than double b.
isGreaterThanOrEqualTo(double b) → bool

  Available on double, provided by the DoubleExtensions extension

  Checks if GREATER than double b.
isGt(double b) → bool

  Available on double, provided by the DoubleExtensions extension

  Short form for `isGreaterThan`
isGtOrEt(double b) → bool

  Available on double, provided by the DoubleExtensions extension

  Short form for `isGreaterThanOrEqualTo`
isLengthBetween(int min, int max) → bool

  Available on double, provided by the DoubleExtensions extension

  Checks if length of double value is BETWEEN minLength to max.
isLengthEqualTo(int other) → bool

  Available on double, provided by the DoubleExtensions extension

  Checks if length of double value is EQUAL to max.
isLengthEt(int max) → bool

  Available on double, provided by the DoubleExtensions extension

  Short form for `isLengthEqualTo`
isLengthGreaterThan(int max) → bool

  Available on double, provided by the DoubleExtensions extension

  Checks if length of double value is GREATER than max.
isLengthGreaterThanOrEqualTo(int max) → bool

  Available on double, provided by the DoubleExtensions extension

  Checks if length of double value is GREATER OR EQUAL to max.
isLengthGt(int max) → bool

  Available on double, provided by the DoubleExtensions extension

  Short form for `isLengthGreaterThan`
isLengthGtOrEt(int max) → bool

  Available on double, provided by the DoubleExtensions extension

  Short form for `isLengthGreaterThanOrEqualTo`
isLengthLessThan(int max) → bool

  Available on double, provided by the DoubleExtensions extension

  Checks if length of double value is LESS than max.
isLengthLessThanOrEqualTo(int max) → bool

  Available on double, provided by the DoubleExtensions extension

  Checks if length of double value is LESS OR EQUAL to max.
isLengthLt(int max) → bool

  Available on double, provided by the DoubleExtensions extension

  Short form for `isLengthLessThan`
isLengthLtOrEt(int max) → bool

  Available on double, provided by the DoubleExtensions extension

  Short form for `isLengthLessThanOrEqualTo`
isLessThan(double b) → bool

  Available on double, provided by the DoubleExtensions extension

  Checks if LOWER than double b.
isLessThanOrEqualTo(double b) → bool

  Available on double, provided by the DoubleExtensions extension

  Checks if LOWER than double b.
isLt(double b) → bool

  Available on double, provided by the DoubleExtensions extension

  Short form for `isLessThan`
isLtOrEt(double b) → bool

  Available on double, provided by the DoubleExtensions extension

  Short form for `isLessThanOrEqualTo`
isNotEqualTo(double other) → bool

  Available on double, provided by the DoubleExtensions extension

  Case in-equality check.
mediaDuration({bool addSpacing = true}) → String

  Available on double, provided by the DoubleExtensions extension

  Formats the media duration into a human-readable string.
minus(double value) → double

  Available on double, provided by the DoubleExtensions extension

  Subtracts the given value from the current number.
multiplyBy(double value) → double

  Available on double, provided by the DoubleExtensions extension

  Multiplies the current number by the given value.
negated() → double

  Available on double, provided by the DoubleExtensions extension

  Negates the number.
notEquals(double other) → bool

  Available on double, provided by the DoubleExtensions extension

  Case in-equality check.
notEqualsAll(List<double> values) → bool

  Available on double, provided by the DoubleExtensions extension

  Checks if double does not equals all items in the list
notEqualsAny(List<double> values) → bool

  Available on double, provided by the DoubleExtensions extension

  Checks if double does not equals any item in the list
plus(double value) → double

  Available on double, provided by the DoubleExtensions extension

  Adds the given value to the current number.
remainder(double value) → double

  Available on double, provided by the DoubleExtensions extension

  Returns the remainder of the division.
toDp([int decimalPlaces = 2]) → String

  Available on double, provided by the DoubleExtensions extension

  Formats the number to the specified number of decimal places.
toPrecision(int fractionDigits) → double

  Available on double, provided by the DoubleExtensions extension

  Rounds the double value to the specified number of decimal places.