|
Scala Library
|
|
scala/math/Numeric.scala]
trait
BigDecimalIsConflicted
extends Numeric[BigDecimal]| Method Summary | |
def
|
fromInt (x : Int) : BigDecimal |
def
|
minus (x : BigDecimal, y : BigDecimal) : BigDecimal |
def
|
negate (x : BigDecimal) : BigDecimal |
def
|
plus (x : BigDecimal, y : BigDecimal) : BigDecimal |
def
|
times (x : BigDecimal, y : BigDecimal) : BigDecimal |
def
|
toDouble (x : BigDecimal) : Double |
def
|
toFloat (x : BigDecimal) : Float |
def
|
toInt (x : BigDecimal) : Int |
def
|
toLong (x : BigDecimal) : Long |
| Methods inherited from Numeric | |
| zero, one, abs, signum, mkNumericOps |
| Methods inherited from Ordering | |
| compare (abstract), tryCompare, lteq, gteq, lt, gt, equiv, max, min, reverse, on, mkOrderingOps |
| Methods inherited from AnyRef | |
| getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Method Details |
def
plus(x : BigDecimal, y : BigDecimal) : BigDecimal
def
minus(x : BigDecimal, y : BigDecimal) : BigDecimal
def
times(x : BigDecimal, y : BigDecimal) : BigDecimal
def
negate(x : BigDecimal) : BigDecimal
def
fromInt(x : Int) : BigDecimal
def
toInt(x : BigDecimal) : Int
def
toLong(x : BigDecimal) : Long
def
toFloat(x : BigDecimal) : Float
def
toDouble(x : BigDecimal) : Double
|
Scala Library
|
|