|
Scala Library
|
|
scala/BigDecimal.scala]
object
BigDecimal
extends AnyRef| Method Summary | |
def
|
apply
(x : java.lang.String) : BigDecimal
Translates the decimal String representation of a
BigDecimal
into a BigDecimal. |
def
|
apply
(x : Array[Char]) : BigDecimal
Translates a character array representation of a
BigDecimal
into a BigDecimal. |
def
|
apply
(i : Int) : BigDecimal
Constructs a
BigDecimal whose value is equal to that of the
specified Integer value. |
def
|
apply
(d : Double) : BigDecimal
Constructs a
BigDecimal whose value is equal to that of the
specified double value. |
def
|
apply
(x : BigInt) : BigDecimal
Constructs a
BigDecimal whose value is equal to that of the
specified BigInt value. |
def
|
apply
(l : Long) : BigDecimal
Constructs a
BigDecimal whose value is equal to that of the
specified long value. |
implicit def
|
bigDecimal2ordered
(x : BigDecimal) : Ordered[BigDecimal]
Implicit conversion from BigDecimal to
Ordered. |
implicit def
|
double2bigDecimal
(d : Double) : BigDecimal
Implicit conversion from
Double to BigDecimal. |
implicit def
|
int2bigDecimal
(i : Int) : BigDecimal
Implicit conversion from
Int to BigDecimal. |
implicit def
|
long2bigDecimal
(l : Long) : BigDecimal
Implicit conversion from
Long to BigDecimal. |
| Methods inherited from AnyRef | |
| getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Object Summary | |
object
|
RoundingMode
extends Enumeration
|
| Method Details |
def
apply(i : Int) : BigDecimal
BigDecimal whose value is equal to that of the
specified Integer value.i - the specified integer valueBigDecimal
def
apply(l : Long) : BigDecimal
BigDecimal whose value is equal to that of the
specified long value.l - the specified long valueBigDecimal
def
apply(d : Double) : BigDecimal
BigDecimal whose value is equal to that of the
specified double value.d - the specified Double valueBigDecimal
def
apply(x : Array[Char]) : BigDecimal
BigDecimal
into a BigDecimal.
def
apply(x : java.lang.String) : BigDecimal
BigDecimal
into a BigDecimal.
def
apply(x : BigInt) : BigDecimal
BigDecimal whose value is equal to that of the
specified BigInt value.x - the specified BigInt valueBigDecimalimplicit
def
int2bigDecimal(i : Int) : BigDecimal
Int to BigDecimal.implicit
def
long2bigDecimal(l : Long) : BigDecimal
Long to BigDecimal.implicit
def
double2bigDecimal(d : Double) : BigDecimal
Double to BigDecimal.implicit
def
bigDecimal2ordered(x : BigDecimal) : Ordered[BigDecimal]
Ordered.|
Scala Library
|
|