summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
Diffstat (limited to 'src/library')
-rw-r--r--src/library/scala/BigDecimal.scala8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/library/scala/BigDecimal.scala b/src/library/scala/BigDecimal.scala
index 263a830481..f104631469 100644
--- a/src/library/scala/BigDecimal.scala
+++ b/src/library/scala/BigDecimal.scala
@@ -86,10 +86,10 @@ object BigDecimal {
/** Implicit conversion from <code>Int</code> to <code>BigDecimal</code>. */
implicit def int2bigDecimal(i: Int): BigDecimal = apply(i)
- /** Implicit copnversion from <code>Long</code> to <code>BigDecimal</code>. */
+ /** Implicit conversion from <code>Long</code> to <code>BigDecimal</code>. */
implicit def long2bigDecimal(l: Long): BigDecimal = apply(l)
- /** Implicit copnversion from <code>Double</code> to <code>BigDecimal</code>. */
+ /** Implicit conversion from <code>Double</code> to <code>BigDecimal</code>. */
implicit def double2bigDecimal(d: Double): BigDecimal = apply(d)
/** Implicit conversion from BigDecimal to <code>Ordered</code>. */
@@ -113,7 +113,7 @@ class BigDecimal(val bigDecimal: BigDec) extends java.lang.Number {
/** Compares this BigDecimal with the specified value for equality.
*/
- override def equals (that: Any): Boolean = that match {
+ override def equals(that: Any): Boolean = that match {
case that: BigDecimal => this equals that
case that: java.lang.Double => this.bigDecimal.doubleValue == that.doubleValue
case that: java.lang.Float => this.bigDecimal.floatValue == that.floatValue
@@ -165,7 +165,7 @@ class BigDecimal(val bigDecimal: BigDec) extends java.lang.Number {
/** Division of BigDecimals
*/
def / (that: BigDecimal): BigDecimal =
- new BigDecimal(this.bigDecimal.divide(that.bigDecimal))
+ new BigDecimal(this.bigDecimal.divide(that.bigDecimal))
/** Returns the minimum of this and that
*/