Double, a 64-bit IEEE-754 floating point number (equivalent to Java's double primitive type) is a subtype of scala.AnyVal. Instances of Double are not represented by an object in the underlying runtime system.
There is an implicit conversion from scala.Double => scala.runtime.RichDouble which provides useful non-primitive operations.
Attributes
- Companion
- object
- Source
- Double.scala
- Graph
-
- Supertypes
Members list
Value members
Abstract methods
Returns true if this value is not equal to x, false otherwise.
Returns true if this value is not equal to x, false otherwise.
Returns true if this value is not equal to x, false otherwise.
Returns true if this value is not equal to x, false otherwise.
Returns true if this value is not equal to x, false otherwise.
Returns true if this value is not equal to x, false otherwise.
Returns true if this value is not equal to x, false otherwise.
Returns the remainder of the division of this value by x.
Returns the remainder of the division of this value by x.
Value parameters
- x
-
the divisor
Attributes
- Source
- Double.scala
Returns the remainder of the division of this value by x.
Returns the remainder of the division of this value by x.
Value parameters
- x
-
the divisor
Attributes
- Source
- Double.scala
Returns the remainder of the division of this value by x.
Returns the remainder of the division of this value by x.
Value parameters
- x
-
the divisor
Attributes
- Source
- Double.scala
Returns the remainder of the division of this value by x.
Returns the remainder of the division of this value by x.
Value parameters
- x
-
the divisor
Attributes
- Source
- Double.scala
Returns the remainder of the division of this value by x.
Returns the remainder of the division of this value by x.
Value parameters
- x
-
the divisor
Attributes
- Source
- Double.scala
Returns the remainder of the division of this value by x.
Returns the remainder of the division of this value by x.
Value parameters
- x
-
the divisor
Attributes
- Source
- Double.scala
Returns the remainder of the division of this value by x.
Returns the remainder of the division of this value by x.
Value parameters
- x
-
the divisor
Attributes
- Source
- Double.scala
Returns the product of this value and x.
Returns the product of this value and x.
Value parameters
- x
-
the value to multiply this value by
Attributes
- Source
- Double.scala
Returns the product of this value and x.
Returns the product of this value and x.
Value parameters
- x
-
the value to multiply this value by
Attributes
- Source
- Double.scala
Returns the product of this value and x.
Returns the product of this value and x.
Value parameters
- x
-
the value to multiply this value by
Attributes
- Source
- Double.scala
Returns the product of this value and x.
Returns the product of this value and x.
Value parameters
- x
-
the value to multiply this value by
Attributes
- Source
- Double.scala
Returns the product of this value and x.
Returns the product of this value and x.
Value parameters
- x
-
the value to multiply this value by
Attributes
- Source
- Double.scala
Returns the product of this value and x.
Returns the product of this value and x.
Value parameters
- x
-
the value to multiply this value by
Attributes
- Source
- Double.scala
Returns the product of this value and x.
Returns the product of this value and x.
Value parameters
- x
-
the value to multiply this value by
Attributes
- Source
- Double.scala
Returns the sum of this value and x.
Returns the sum of this value and x.
Value parameters
- x
-
the value to add to this value
Attributes
- Source
- Double.scala
Returns the sum of this value and x.
Returns the sum of this value and x.
Value parameters
- x
-
the value to add to this value
Attributes
- Source
- Double.scala
Returns the sum of this value and x.
Returns the sum of this value and x.
Value parameters
- x
-
the value to add to this value
Attributes
- Source
- Double.scala
Returns the sum of this value and x.
Returns the sum of this value and x.
Value parameters
- x
-
the value to add to this value
Attributes
- Source
- Double.scala
Returns the sum of this value and x.
Returns the sum of this value and x.
Value parameters
- x
-
the value to add to this value
Attributes
- Source
- Double.scala
Returns the sum of this value and x.
Returns the sum of this value and x.
Value parameters
- x
-
the value to add to this value
Attributes
- Source
- Double.scala
Returns the sum of this value and x.
Returns the sum of this value and x.
Value parameters
- x
-
the value to add to this value
Attributes
- Source
- Double.scala
Returns the difference of this value and x.
Returns the difference of this value and x.
Value parameters
- x
-
the value to subtract from this value
Attributes
- Source
- Double.scala
Returns the difference of this value and x.
Returns the difference of this value and x.
Value parameters
- x
-
the value to subtract from this value
Attributes
- Source
- Double.scala
Returns the difference of this value and x.
Returns the difference of this value and x.
Value parameters
- x
-
the value to subtract from this value
Attributes
- Source
- Double.scala
Returns the difference of this value and x.
Returns the difference of this value and x.
Value parameters
- x
-
the value to subtract from this value
Attributes
- Source
- Double.scala
Returns the difference of this value and x.
Returns the difference of this value and x.
Value parameters
- x
-
the value to subtract from this value
Attributes
- Source
- Double.scala
Returns the difference of this value and x.
Returns the difference of this value and x.
Value parameters
- x
-
the value to subtract from this value
Attributes
- Source
- Double.scala
Returns the difference of this value and x.
Returns the difference of this value and x.
Value parameters
- x
-
the value to subtract from this value
Attributes
- Source
- Double.scala
Returns the quotient of this value and x.
Returns the quotient of this value and x.
Value parameters
- x
-
the value to divide this value by
Attributes
- Source
- Double.scala
Returns the quotient of this value and x.
Returns the quotient of this value and x.
Value parameters
- x
-
the value to divide this value by
Attributes
- Source
- Double.scala
Returns the quotient of this value and x.
Returns the quotient of this value and x.
Value parameters
- x
-
the value to divide this value by
Attributes
- Source
- Double.scala
Returns the quotient of this value and x.
Returns the quotient of this value and x.
Value parameters
- x
-
the value to divide this value by
Attributes
- Source
- Double.scala
Returns the quotient of this value and x.
Returns the quotient of this value and x.
Value parameters
- x
-
the value to divide this value by
Attributes
- Source
- Double.scala
Returns the quotient of this value and x.
Returns the quotient of this value and x.
Value parameters
- x
-
the value to divide this value by
Attributes
- Source
- Double.scala
Returns the quotient of this value and x.
Returns the quotient of this value and x.
Value parameters
- x
-
the value to divide this value by
Attributes
- Source
- Double.scala
Returns true if this value is less than x, false otherwise.
Returns true if this value is less than x, false otherwise.
Value parameters
- x
-
the value to compare against this one
Attributes
- Source
- Double.scala
Returns true if this value is less than x, false otherwise.
Returns true if this value is less than x, false otherwise.
Value parameters
- x
-
the value to compare against this one
Attributes
- Source
- Double.scala
Returns true if this value is less than x, false otherwise.
Returns true if this value is less than x, false otherwise.
Value parameters
- x
-
the value to compare against this one
Attributes
- Source
- Double.scala
Returns true if this value is less than x, false otherwise.
Returns true if this value is less than x, false otherwise.
Value parameters
- x
-
the value to compare against this one
Attributes
- Source
- Double.scala
Returns true if this value is less than x, false otherwise.
Returns true if this value is less than x, false otherwise.
Value parameters
- x
-
the value to compare against this one
Attributes
- Source
- Double.scala
Returns true if this value is less than x, false otherwise.
Returns true if this value is less than x, false otherwise.
Value parameters
- x
-
the value to compare against this one
Attributes
- Source
- Double.scala
Returns true if this value is less than x, false otherwise.
Returns true if this value is less than x, false otherwise.
Value parameters
- x
-
the value to compare against this one
Attributes
- Source
- Double.scala
Returns true if this value is less than or equal to x, false otherwise.
Returns true if this value is less than or equal to x, false otherwise.
Attributes
- Source
- Double.scala
Returns true if this value is less than or equal to x, false otherwise.
Returns true if this value is less than or equal to x, false otherwise.
Attributes
- Source
- Double.scala
Returns true if this value is less than or equal to x, false otherwise.
Returns true if this value is less than or equal to x, false otherwise.
Attributes
- Source
- Double.scala
Returns true if this value is less than or equal to x, false otherwise.
Returns true if this value is less than or equal to x, false otherwise.
Attributes
- Source
- Double.scala
Returns true if this value is less than or equal to x, false otherwise.
Returns true if this value is less than or equal to x, false otherwise.
Attributes
- Source
- Double.scala
Returns true if this value is less than or equal to x, false otherwise.
Returns true if this value is less than or equal to x, false otherwise.
Attributes
- Source
- Double.scala
Returns true if this value is less than or equal to x, false otherwise.
Returns true if this value is less than or equal to x, false otherwise.
Attributes
- Source
- Double.scala
Returns true if this value is equal to x, false otherwise.
Returns true if this value is equal to x, false otherwise.
Returns true if this value is equal to x, false otherwise.
Returns true if this value is equal to x, false otherwise.
Returns true if this value is equal to x, false otherwise.
Returns true if this value is equal to x, false otherwise.
Returns true if this value is equal to x, false otherwise.
Returns true if this value is greater than x, false otherwise.
Returns true if this value is greater than x, false otherwise.
Value parameters
- x
-
the value to compare against this one
Attributes
- Source
- Double.scala
Returns true if this value is greater than x, false otherwise.
Returns true if this value is greater than x, false otherwise.
Value parameters
- x
-
the value to compare against this one
Attributes
- Source
- Double.scala
Returns true if this value is greater than x, false otherwise.
Returns true if this value is greater than x, false otherwise.
Value parameters
- x
-
the value to compare against this one
Attributes
- Source
- Double.scala
Returns true if this value is greater than x, false otherwise.
Returns true if this value is greater than x, false otherwise.
Value parameters
- x
-
the value to compare against this one
Attributes
- Source
- Double.scala
Returns true if this value is greater than x, false otherwise.
Returns true if this value is greater than x, false otherwise.
Value parameters
- x
-
the value to compare against this one
Attributes
- Source
- Double.scala
Returns true if this value is greater than x, false otherwise.
Returns true if this value is greater than x, false otherwise.
Value parameters
- x
-
the value to compare against this one
Attributes
- Source
- Double.scala
Returns true if this value is greater than x, false otherwise.
Returns true if this value is greater than x, false otherwise.
Value parameters
- x
-
the value to compare against this one
Attributes
- Source
- Double.scala
Returns true if this value is greater than or equal to x, false otherwise.
Returns true if this value is greater than or equal to x, false otherwise.
Attributes
- Source
- Double.scala
Returns true if this value is greater than or equal to x, false otherwise.
Returns true if this value is greater than or equal to x, false otherwise.
Attributes
- Source
- Double.scala
Returns true if this value is greater than or equal to x, false otherwise.
Returns true if this value is greater than or equal to x, false otherwise.
Attributes
- Source
- Double.scala
Returns true if this value is greater than or equal to x, false otherwise.
Returns true if this value is greater than or equal to x, false otherwise.
Attributes
- Source
- Double.scala
Returns true if this value is greater than or equal to x, false otherwise.
Returns true if this value is greater than or equal to x, false otherwise.
Attributes
- Source
- Double.scala
Returns true if this value is greater than or equal to x, false otherwise.
Returns true if this value is greater than or equal to x, false otherwise.
Attributes
- Source
- Double.scala
Returns true if this value is greater than or equal to x, false otherwise.
Returns true if this value is greater than or equal to x, false otherwise.
Attributes
- Source
- Double.scala
Attributes
- Source
- Double.scala
Attributes
- Source
- Double.scala
Attributes
- Source
- Double.scala
Attributes
- Source
- Double.scala
Attributes
- Source
- Double.scala
Attributes
- Source
- Double.scala
Attributes
- Source
- Double.scala
Returns this value, unmodified.
Returns the negation of this value.
Deprecated methods
Attributes
- Deprecated
-
[Since version 2.13.0]Adding a number and a String is deprecated. Use the string interpolation `s\"$num$str\"` - Source
- Double.scala