scala.math

BigDecimal

object BigDecimal extends Serializable

Source
BigDecimal.scala
Version

1.0

Since

2.7

Linear Supertypes
Serializable, java.io.Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BigDecimal
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

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

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object RoundingMode extends Enumeration

  7. def apply(bd: java.math.BigDecimal, mc: MathContext): BigDecimal

  8. def apply(bd: java.math.BigDecimal): BigDecimal

  9. def apply(unscaledVal: BigInt, scale: Int, mc: MathContext): BigDecimal

  10. def apply(unscaledVal: BigInt, scale: Int): BigDecimal

    Constructs a BigDecimal whose unscaled value is equal to that of the specified BigInt value.

    Constructs a BigDecimal whose unscaled value is equal to that of the specified BigInt value.

    unscaledVal

    the specified BigInt value

    scale

    the scale

    returns

    the constructed BigDecimal

  11. def apply(x: BigInt, mc: MathContext): BigDecimal

  12. def apply(x: BigInt): BigDecimal

    Constructs a BigDecimal whose value is equal to that of the specified BigInt value.

    Constructs a BigDecimal whose value is equal to that of the specified BigInt value.

    x

    the specified BigInt value

    returns

    the constructed BigDecimal

  13. def apply(x: String, mc: MathContext): BigDecimal

  14. def apply(x: String): BigDecimal

    Translates the decimal String representation of a BigDecimal into a BigDecimal.

  15. def apply(x: Array[Char], mc: MathContext): BigDecimal

  16. def apply(x: Array[Char]): BigDecimal

    Translates a character array representation of a BigDecimal into a BigDecimal.

  17. def apply(d: Double, mc: MathContext): BigDecimal

  18. def apply(d: Double): BigDecimal

    Constructs a BigDecimal whose value is equal to that of the specified double value.

    Constructs a BigDecimal whose value is equal to that of the specified double value.

    d

    the specified Double value

    returns

    the constructed BigDecimal

  19. def apply(unscaledVal: Long, scale: Int, mc: MathContext): BigDecimal

  20. def apply(unscaledVal: Long, scale: Int): BigDecimal

    Constructs a BigDecimal whose unscaled value is equal to that of the specified long value.

    Constructs a BigDecimal whose unscaled value is equal to that of the specified long value.

    unscaledVal

    the value

    scale

    the scale

    returns

    the constructed BigDecimal

  21. def apply(l: Long, mc: MathContext): BigDecimal

  22. def apply(l: Long): BigDecimal

    Constructs a BigDecimal whose value is equal to that of the specified long value.

    Constructs a BigDecimal whose value is equal to that of the specified long value.

    l

    the specified long value

    returns

    the constructed BigDecimal

  23. def apply(i: Int, mc: MathContext): BigDecimal

  24. def apply(i: Int): BigDecimal

    Constructs a BigDecimal whose value is equal to that of the specified Integer value.

    Constructs a BigDecimal whose value is equal to that of the specified Integer value.

    i

    the specified integer value

    returns

    the constructed BigDecimal

  25. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  26. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. val defaultMathContext: MathContext

  28. implicit def double2bigDecimal(d: Double): BigDecimal

    Implicit conversion from Double to BigDecimal.

  29. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  31. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  32. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  33. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  34. implicit def int2bigDecimal(i: Int): BigDecimal

    Implicit conversion from Int to BigDecimal.

  35. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  36. implicit def javaBigDecimal2bigDecimal(x: java.math.BigDecimal): BigDecimal

    Implicit conversion from java.math.BigDecimal to scala.BigDecimal.

  37. implicit def long2bigDecimal(l: Long): BigDecimal

    Implicit conversion from Long to BigDecimal.

  38. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  39. final def notify(): Unit

    Definition Classes
    AnyRef
  40. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  42. def toString(): String

    Definition Classes
    AnyRef → Any
  43. def valueOf(d: Double, mc: MathContext): BigDecimal

  44. def valueOf(d: Double): BigDecimal

    Constructs a BigDecimal using the java BigDecimal static valueOf constructor.

    Constructs a BigDecimal using the java BigDecimal static valueOf constructor.

    d

    the specified double value

    returns

    the constructed BigDecimal

  45. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from java.io.Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped