Double (original) (raw)
scala.Double
See theDouble companion class
Members list
Transform a value type into a boxed reference type.
Value parameters
x
the Double to be boxed
Attributes
Returns
a java.lang.Double offering x
as its underlying value.
Source
The String representation of the scala.Double companion object.
The String representation of the scala.Double companion object.
Attributes
Definition Classes
Source
Transform a boxed type into a value type.
Transform a boxed type into a value type. Note that this method is not typesafe: it accepts any Object, but will throw an exception if the argument is not a java.lang.Double.
Runtime implementation determined by scala.runtime.BoxesRunTime.unboxToDouble
. See src/library/scala/runtime/BoxesRunTime.java.
Value parameters
x
the java.lang.Double to be unboxed.
Attributes
Returns
the Double resulting from calling doubleValue() on x
Throws
Source
The largest finite positive number representable as a Double.
The largest finite positive number representable as a Double.
Attributes
Source
The smallest positive value greater than 0.0d which is representable as a Double.
The smallest positive value greater than 0.0d which is representable as a Double.
Attributes
Source
The negative number with the greatest (finite) absolute value which is representable by a Double.
The negative number with the greatest (finite) absolute value which is representable by a Double. Note that it differs from java.lang.Double.MIN_VALUE, which is the smallest positive value representable by a Double. In Scala that number is called Double.MinPositiveValue.
Attributes
Source
In this article