Packages

abstract final class Double extends AnyVal

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.

Source
Double.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Double
  2. AnyVal
  3. Any
Implicitly
  1. by double2Double
  2. by doubleWrapper
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def !=(x: Double): Boolean

    Returns true if this value is not equal to x, false otherwise.

  2. abstract def !=(x: Float): Boolean

    Returns true if this value is not equal to x, false otherwise.

  3. abstract def !=(x: Long): Boolean

    Returns true if this value is not equal to x, false otherwise.

  4. abstract def !=(x: Int): Boolean

    Returns true if this value is not equal to x, false otherwise.

  5. abstract def !=(x: Char): Boolean

    Returns true if this value is not equal to x, false otherwise.

  6. abstract def !=(x: Short): Boolean

    Returns true if this value is not equal to x, false otherwise.

  7. abstract def !=(x: Byte): Boolean

    Returns true if this value is not equal to x, false otherwise.

  8. abstract def %(x: Double): Double

    Returns the remainder of the division of this value by x.

  9. abstract def %(x: Float): Double

    Returns the remainder of the division of this value by x.

  10. abstract def %(x: Long): Double

    Returns the remainder of the division of this value by x.

  11. abstract def %(x: Int): Double

    Returns the remainder of the division of this value by x.

  12. abstract def %(x: Char): Double

    Returns the remainder of the division of this value by x.

  13. abstract def %(x: Short): Double

    Returns the remainder of the division of this value by x.

  14. abstract def %(x: Byte): Double

    Returns the remainder of the division of this value by x.

  15. abstract def *(x: Double): Double

    Returns the product of this value and x.

  16. abstract def *(x: Float): Double

    Returns the product of this value and x.

  17. abstract def *(x: Long): Double

    Returns the product of this value and x.

  18. abstract def *(x: Int): Double

    Returns the product of this value and x.

  19. abstract def *(x: Char): Double

    Returns the product of this value and x.

  20. abstract def *(x: Short): Double

    Returns the product of this value and x.

  21. abstract def *(x: Byte): Double

    Returns the product of this value and x.

  22. abstract def +(x: Double): Double

    Returns the sum of this value and x.

  23. abstract def +(x: Float): Double

    Returns the sum of this value and x.

  24. abstract def +(x: Long): Double

    Returns the sum of this value and x.

  25. abstract def +(x: Int): Double

    Returns the sum of this value and x.

  26. abstract def +(x: Char): Double

    Returns the sum of this value and x.

  27. abstract def +(x: Short): Double

    Returns the sum of this value and x.

  28. abstract def +(x: Byte): Double

    Returns the sum of this value and x.

  29. abstract def +(x: String): String
  30. abstract def -(x: Double): Double

    Returns the difference of this value and x.

  31. abstract def -(x: Float): Double

    Returns the difference of this value and x.

  32. abstract def -(x: Long): Double

    Returns the difference of this value and x.

  33. abstract def -(x: Int): Double

    Returns the difference of this value and x.

  34. abstract def -(x: Char): Double

    Returns the difference of this value and x.

  35. abstract def -(x: Short): Double

    Returns the difference of this value and x.

  36. abstract def -(x: Byte): Double

    Returns the difference of this value and x.

  37. abstract def /(x: Double): Double

    Returns the quotient of this value and x.

  38. abstract def /(x: Float): Double

    Returns the quotient of this value and x.

  39. abstract def /(x: Long): Double

    Returns the quotient of this value and x.

  40. abstract def /(x: Int): Double

    Returns the quotient of this value and x.

  41. abstract def /(x: Char): Double

    Returns the quotient of this value and x.

  42. abstract def /(x: Short): Double

    Returns the quotient of this value and x.

  43. abstract def /(x: Byte): Double

    Returns the quotient of this value and x.

  44. abstract def <(x: Double): Boolean

    Returns true if this value is less than x, false otherwise.

  45. abstract def <(x: Float): Boolean

    Returns true if this value is less than x, false otherwise.

  46. abstract def <(x: Long): Boolean

    Returns true if this value is less than x, false otherwise.

  47. abstract def <(x: Int): Boolean

    Returns true if this value is less than x, false otherwise.

  48. abstract def <(x: Char): Boolean

    Returns true if this value is less than x, false otherwise.

  49. abstract def <(x: Short): Boolean

    Returns true if this value is less than x, false otherwise.

  50. abstract def <(x: Byte): Boolean

    Returns true if this value is less than x, false otherwise.

  51. abstract def <=(x: Double): Boolean

    Returns true if this value is less than or equal to x, false otherwise.

  52. abstract def <=(x: Float): Boolean

    Returns true if this value is less than or equal to x, false otherwise.

  53. abstract def <=(x: Long): Boolean

    Returns true if this value is less than or equal to x, false otherwise.

  54. abstract def <=(x: Int): Boolean

    Returns true if this value is less than or equal to x, false otherwise.

  55. abstract def <=(x: Char): Boolean

    Returns true if this value is less than or equal to x, false otherwise.

  56. abstract def <=(x: Short): Boolean

    Returns true if this value is less than or equal to x, false otherwise.

  57. abstract def <=(x: Byte): Boolean

    Returns true if this value is less than or equal to x, false otherwise.

  58. abstract def ==(x: Double): Boolean

    Returns true if this value is equal to x, false otherwise.

  59. abstract def ==(x: Float): Boolean

    Returns true if this value is equal to x, false otherwise.

  60. abstract def ==(x: Long): Boolean

    Returns true if this value is equal to x, false otherwise.

  61. abstract def ==(x: Int): Boolean

    Returns true if this value is equal to x, false otherwise.

  62. abstract def ==(x: Char): Boolean

    Returns true if this value is equal to x, false otherwise.

  63. abstract def ==(x: Short): Boolean

    Returns true if this value is equal to x, false otherwise.

  64. abstract def ==(x: Byte): Boolean

    Returns true if this value is equal to x, false otherwise.

  65. abstract def >(x: Double): Boolean

    Returns true if this value is greater than x, false otherwise.

  66. abstract def >(x: Float): Boolean

    Returns true if this value is greater than x, false otherwise.

  67. abstract def >(x: Long): Boolean

    Returns true if this value is greater than x, false otherwise.

  68. abstract def >(x: Int): Boolean

    Returns true if this value is greater than x, false otherwise.

  69. abstract def >(x: Char): Boolean

    Returns true if this value is greater than x, false otherwise.

  70. abstract def >(x: Short): Boolean

    Returns true if this value is greater than x, false otherwise.

  71. abstract def >(x: Byte): Boolean

    Returns true if this value is greater than x, false otherwise.

  72. abstract def >=(x: Double): Boolean

    Returns true if this value is greater than or equal to x, false otherwise.

  73. abstract def >=(x: Float): Boolean

    Returns true if this value is greater than or equal to x, false otherwise.

  74. abstract def >=(x: Long): Boolean

    Returns true if this value is greater than or equal to x, false otherwise.

  75. abstract def >=(x: Int): Boolean

    Returns true if this value is greater than or equal to x, false otherwise.

  76. abstract def >=(x: Char): Boolean

    Returns true if this value is greater than or equal to x, false otherwise.

  77. abstract def >=(x: Short): Boolean

    Returns true if this value is greater than or equal to x, false otherwise.

  78. abstract def >=(x: Byte): Boolean

    Returns true if this value is greater than or equal to x, false otherwise.

  79. abstract def toByte: Byte
  80. abstract def toChar: Char
  81. abstract def toDouble: Double
  82. abstract def toFloat: Float
  83. abstract def toInt: Int
  84. abstract def toLong: Long
  85. abstract def toShort: Short
  86. abstract def unary_+: Double

    Returns this value, unmodified.

  87. abstract def unary_-: Double

    Returns the negation of this value.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Test two objects for inequality.

    Test two objects for inequality.

    returns

    true if !(this == that), false otherwise.

    Definition Classes
    Any
  2. final def ##(): Int

    Equivalent to x.hashCode except for boxed numeric types and null.

    Equivalent to x.hashCode except for boxed numeric types and null. For numerics, it returns a hash value which is consistent with value equality: if two value type instances compare as true, then ## will produce the same hash value for each of them. For null returns a hashcode where null.hashCode throws a NullPointerException.

    returns

    a hash value consistent with ==

    Definition Classes
    Any
  3. def ->[B](y: B): (Double, B)
    Implicit
    This member is added by an implicit conversion from Double to ArrowAssoc[Double] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  4. final def ==(arg0: Any): Boolean

    Test two objects for equality.

    Test two objects for equality. The expression x == that is equivalent to if (x eq null) that eq null else x.equals(that).

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    Definition Classes
    Any
  5. def abs: Double

    Returns the absolute value of this.

    Returns the absolute value of this.

    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichDoubleScalaNumberProxy
  6. final def asInstanceOf[T0]: T0

    Cast the receiver object to be of type T0.

    Cast the receiver object to be of type T0.

    Note that the success of a cast at runtime is modulo Scala's erasure semantics. Therefore the expression 1.asInstanceOf[String] will throw a ClassCastException at runtime, while the expression List(1).asInstanceOf[List[String]] will not. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested type.

    returns

    the receiver object.

    Definition Classes
    Any
    Exceptions thrown

    ClassCastException if the receiver object is not an instance of the erasure of type T0.

  7. def ceil: Double
    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichDouble
  8. def compare(y: Double): Int

    Result of comparing this with operand that.

    Result of comparing this with operand that.

    Implement this method to determine how instances of A will be sorted.

    Returns x where:

    • x < 0 when this < that
    • x == 0 when this == that
    • x > 0 when this > that
    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    OrderedProxyOrdered
  9. def compareTo(arg0: java.lang.Double): Int
    Implicit
    This member is added by an implicit conversion from Double to java.lang.Double performed by method double2Double in scala.Predef.
    Definition Classes
    Double → Comparable
  10. def compareTo(that: Double): Int

    Result of comparing this with operand that.

    Result of comparing this with operand that.

    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    Ordered → Comparable
  11. def ensuring(cond: (Double) ⇒ Boolean, msg: ⇒ Any): Double
    Implicit
    This member is added by an implicit conversion from Double to Ensuring[Double] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (Double) ⇒ Boolean): Double
    Implicit
    This member is added by an implicit conversion from Double to Ensuring[Double] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): Double
    Implicit
    This member is added by an implicit conversion from Double to Ensuring[Double] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): Double
    Implicit
    This member is added by an implicit conversion from Double to Ensuring[Double] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def equals(arg0: Any): Boolean

    Compares the receiver object (this) with the argument object (that) for equivalence.

    Compares the receiver object (this) with the argument object (that) for equivalence.

    Any implementation of this method should be an equivalence relation:

    • It is reflexive: for any instance x of type Any, x.equals(x) should return true.
    • It is symmetric: for any instances x and y of type Any, x.equals(y) should return true if and only if y.equals(x) returns true.
    • It is transitive: for any instances x, y, and z of type Any if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.

    If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode to ensure that objects which are "equal" (o1.equals(o2) returns true) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)).

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    Definition Classes
    Any
  16. def floor: Double
    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichDouble
  17. def getClass(): Class[Double]

    Returns the runtime class representation of the object.

    Returns the runtime class representation of the object.

    returns

    a class object corresponding to the runtime type of the receiver.

    Definition Classes
    DoubleAnyValAny
  18. def hashCode(): Int

    Calculate a hash code value for the object.

    Calculate a hash code value for the object.

    The default hashing algorithm is platform dependent.

    Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

    returns

    the hash code value for this object.

    Definition Classes
    Any
  19. def isInfinite(): Boolean
    Implicit
    This member is added by an implicit conversion from Double to java.lang.Double performed by method double2Double in scala.Predef.
    Definition Classes
    Double
  20. def isInfinity: Boolean
    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichDouble
  21. final def isInstanceOf[T0]: Boolean

    Test whether the dynamic type of the receiver object is T0.

    Test whether the dynamic type of the receiver object is T0.

    Note that the result of the test is modulo Scala's erasure semantics. Therefore the expression 1.isInstanceOf[String] will return false, while the expression List(1).isInstanceOf[List[String]] will return true. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the specified type.

    returns

    true if the receiver object is an instance of erasure of type T0; false otherwise.

    Definition Classes
    Any
  22. def isNaN(): Boolean
    Implicit
    This member is added by an implicit conversion from Double to java.lang.Double performed by method double2Double in scala.Predef.
    Definition Classes
    Double
  23. def isNaN: Boolean
    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichDouble
  24. def isNegInfinity: Boolean
    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichDouble
  25. def isPosInfinity: Boolean
    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichDouble
  26. def isValidByte: Boolean

    Returns true iff this has a zero fractional part, and is within the range of scala.Byte MinValue and MaxValue; otherwise returns false.

    Returns true iff this has a zero fractional part, and is within the range of scala.Byte MinValue and MaxValue; otherwise returns false.

    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichDoubleScalaNumericAnyConversions
  27. def isValidChar: Boolean

    Returns true iff this has a zero fractional part, and is within the range of scala.Char MinValue and MaxValue; otherwise returns false.

    Returns true iff this has a zero fractional part, and is within the range of scala.Char MinValue and MaxValue; otherwise returns false.

    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichDoubleScalaNumericAnyConversions
  28. def isValidInt: Boolean

    Returns true iff this has a zero fractional part, and is within the range of scala.Int MinValue and MaxValue; otherwise returns false.

    Returns true iff this has a zero fractional part, and is within the range of scala.Int MinValue and MaxValue; otherwise returns false.

    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichDoubleScalaNumericAnyConversions
  29. def isValidShort: Boolean

    Returns true iff this has a zero fractional part, and is within the range of scala.Short MinValue and MaxValue; otherwise returns false.

    Returns true iff this has a zero fractional part, and is within the range of scala.Short MinValue and MaxValue; otherwise returns false.

    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichDoubleScalaNumericAnyConversions
  30. def isWhole(): Boolean

    returns

    true if this number has no decimal component, false otherwise.

    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichDoubleFractionalProxyScalaNumericAnyConversions
  31. def max(that: Double): Double

    Returns this if this > that or that otherwise.

    Returns this if this > that or that otherwise.

    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichDoubleScalaNumberProxy
  32. def min(that: Double): Double

    Returns this if this < that or that otherwise.

    Returns this if this < that or that otherwise.

    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichDoubleScalaNumberProxy
  33. def round: Long
    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichDouble
  34. val self: Double
    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichDoubleTypedProxy
  35. def signum: Int

    Returns the signum of this.

    Returns the signum of this.

    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichDoubleScalaNumberProxy
  36. def toDegrees: Double

    Converts an angle measured in radians to an approximately equivalent angle measured in degrees.

    Converts an angle measured in radians to an approximately equivalent angle measured in degrees.

    returns

    the measurement of the angle x in degrees.

    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichDouble
  37. def toRadians: Double

    Converts an angle measured in degrees to an approximately equivalent angle measured in radians.

    Converts an angle measured in degrees to an approximately equivalent angle measured in radians.

    returns

    the measurement of the angle x in radians.

    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichDouble
  38. def toString(): String

    Returns a string representation of the object.

    Returns a string representation of the object.

    The default representation is platform dependent.

    returns

    a string representation of the object.

    Definition Classes
    Any
  39. def underlying(): AnyRef
    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaNumberProxyScalaNumericAnyConversions
  40. def [B](y: B): (Double, B)
    Implicit
    This member is added by an implicit conversion from Double to ArrowAssoc[Double] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Double to any2stringadd[Double] performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (double: any2stringadd[Double]).+(other)
    Definition Classes
    any2stringadd
  2. def <(that: Double): Boolean

    Returns true if this is less than that

    Returns true if this is less than that

    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (double: RichDouble).<(that)
    Definition Classes
    Ordered
  3. def <=(that: Double): Boolean

    Returns true if this is less than or equal to that.

    Returns true if this is less than or equal to that.

    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (double: RichDouble).<=(that)
    Definition Classes
    Ordered
  4. def >(that: Double): Boolean

    Returns true if this is greater than that.

    Returns true if this is greater than that.

    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (double: RichDouble).>(that)
    Definition Classes
    Ordered
  5. def >=(that: Double): Boolean

    Returns true if this is greater than or equal to that.

    Returns true if this is greater than or equal to that.

    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (double: RichDouble).>=(that)
    Definition Classes
    Ordered
  6. def byteValue(): Byte
    Implicit
    This member is added by an implicit conversion from Double to java.lang.Double performed by method double2Double in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (double: java.lang.Double).byteValue()
    Definition Classes
    Double → Number
  7. def byteValue(): Byte
    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (double: RichDouble).byteValue()
    Definition Classes
    RichDoubleScalaNumberProxyScalaNumericAnyConversions
  8. def doubleValue(): Double
    Implicit
    This member is added by an implicit conversion from Double to java.lang.Double performed by method double2Double in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (double: java.lang.Double).doubleValue()
    Definition Classes
    Double → Number
  9. def doubleValue(): Double
    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (double: RichDouble).doubleValue()
    Definition Classes
    RichDoubleScalaNumberProxyScalaNumericAnyConversions
  10. def equals(arg0: Any): Boolean

    The equality method for reference types.

    The equality method for reference types. Default implementation delegates to eq.

    See also equals in scala.Any.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    Implicit
    This member is added by an implicit conversion from Double to java.lang.Double performed by method double2Double in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (double: java.lang.Double).equals(arg0)
    Definition Classes
    Double → AnyRef → Any
  11. def floatValue(): Float
    Implicit
    This member is added by an implicit conversion from Double to java.lang.Double performed by method double2Double in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (double: java.lang.Double).floatValue()
    Definition Classes
    Double → Number
  12. def floatValue(): Float
    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (double: RichDouble).floatValue()
    Definition Classes
    RichDoubleScalaNumberProxyScalaNumericAnyConversions
  13. def hashCode(): Int

    The hashCode method for reference types.

    The hashCode method for reference types. See hashCode in scala.Any.

    returns

    the hash code value for this object.

    Implicit
    This member is added by an implicit conversion from Double to java.lang.Double performed by method double2Double in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (double: java.lang.Double).hashCode()
    Definition Classes
    Double → AnyRef → Any
  14. def intValue(): Int
    Implicit
    This member is added by an implicit conversion from Double to java.lang.Double performed by method double2Double in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (double: java.lang.Double).intValue()
    Definition Classes
    Double → Number
  15. def intValue(): Int
    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (double: RichDouble).intValue()
    Definition Classes
    RichDoubleScalaNumberProxyScalaNumericAnyConversions
  16. def longValue(): Long
    Implicit
    This member is added by an implicit conversion from Double to java.lang.Double performed by method double2Double in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (double: java.lang.Double).longValue()
    Definition Classes
    Double → Number
  17. def longValue(): Long
    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (double: RichDouble).longValue()
    Definition Classes
    RichDoubleScalaNumberProxyScalaNumericAnyConversions
  18. def shortValue(): Short
    Implicit
    This member is added by an implicit conversion from Double to java.lang.Double performed by method double2Double in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (double: java.lang.Double).shortValue()
    Definition Classes
    Double → Number
  19. def shortValue(): Short
    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (double: RichDouble).shortValue()
    Definition Classes
    RichDoubleScalaNumberProxyScalaNumericAnyConversions
  20. def toByte: Byte

    Returns the value of this as a scala.Byte.

    Returns the value of this as a scala.Byte. This may involve rounding or truncation.

    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (double: RichDouble).toByte
    Definition Classes
    ScalaNumericAnyConversions
  21. def toChar: Char

    Returns the value of this as a scala.Char.

    Returns the value of this as a scala.Char. This may involve rounding or truncation.

    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (double: RichDouble).toChar
    Definition Classes
    ScalaNumericAnyConversions
  22. def toDouble: Double

    Returns the value of this as a scala.Double.

    Returns the value of this as a scala.Double. This may involve rounding or truncation.

    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (double: RichDouble).toDouble
    Definition Classes
    ScalaNumericAnyConversions
  23. def toFloat: Float

    Returns the value of this as a scala.Float.

    Returns the value of this as a scala.Float. This may involve rounding or truncation.

    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (double: RichDouble).toFloat
    Definition Classes
    ScalaNumericAnyConversions
  24. def toInt: Int

    Returns the value of this as an scala.Int.

    Returns the value of this as an scala.Int. This may involve rounding or truncation.

    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (double: RichDouble).toInt
    Definition Classes
    ScalaNumericAnyConversions
  25. def toLong: Long

    Returns the value of this as a scala.Long.

    Returns the value of this as a scala.Long. This may involve rounding or truncation.

    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (double: RichDouble).toLong
    Definition Classes
    ScalaNumericAnyConversions
  26. def toShort: Short

    Returns the value of this as a scala.Short.

    Returns the value of this as a scala.Short. This may involve rounding or truncation.

    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (double: RichDouble).toShort
    Definition Classes
    ScalaNumericAnyConversions
  27. def toString(): String

    Creates a String representation of this object.

    Creates a String representation of this object. The default representation is platform dependent. On the java platform it is the concatenation of the class name, "@", and the object's hashcode in hexadecimal.

    returns

    a String representation of the object.

    Implicit
    This member is added by an implicit conversion from Double to java.lang.Double performed by method double2Double in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (double: java.lang.Double).toString()
    Definition Classes
    Double → AnyRef → Any
  28. def toString(): String

    Returns a string representation of the object.

    Returns a string representation of the object.

    The default representation is platform dependent.

    returns

    a string representation of the object.

    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (double: RichDouble).toString()
    Definition Classes
    ProxyAny

Deprecated Value Members

  1. def formatted(fmtstr: String): String

    Returns string formatted according to given format string.

    Returns string formatted according to given format string. Format strings are as for String.format (@see java.lang.String.format).

    Implicit
    This member is added by an implicit conversion from Double to StringFormat[Double] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  2. def to(end: Double, step: Double): Inclusive[Double]
    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    FractionalProxyRangedProxy
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.6) use BigDecimal range instead

  3. def to(end: Double): Partial[Double, NumericRange[Double]]
    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    FractionalProxyRangedProxy
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.6) use BigDecimal range instead

  4. def until(end: Double, step: Double): Exclusive[Double]
    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    FractionalProxyRangedProxy
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.6) use BigDecimal range instead

  5. def until(end: Double): Partial[Double, NumericRange[Double]]
    Implicit
    This member is added by an implicit conversion from Double to RichDouble performed by method doubleWrapper in scala.LowPriorityImplicits.
    Definition Classes
    FractionalProxyRangedProxy
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.6) use BigDecimal range instead

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion double2Double from Double to java.lang.Double

Inherited by implicit conversion doubleWrapper from Double to RichDouble

Inherited by implicit conversion any2stringadd from Double to any2stringadd[Double]

Inherited by implicit conversion StringFormat from Double to StringFormat[Double]

Inherited by implicit conversion Ensuring from Double to Ensuring[Double]

Inherited by implicit conversion ArrowAssoc from Double to ArrowAssoc[Double]

Ungrouped