diff --git a/index.html b/index.html index aa79d16..6ea2cb0 100644 --- a/index.html +++ b/index.html @@ -219,7 +219,7 @@ li span{float:right;margin-right:10px;color:#c0c0c0} The library is incorporated into this page, so it should be available in the console now.
- +@@ -2055,7 +2055,7 @@ x.toBinary(1) // '0b1p+8'
x = new Decimal(12.34567) x.toDecimalPlaces(0) // '12' -x.toDecimalPlaces(1, Decimal.ROUND_UP) // '12.3' +x.toDecimalPlaces(1, Decimal.ROUND_UP) // '12.4' y = new Decimal(9876.54321) y.toDP(3) // '9876.543' @@ -2678,12 +2678,11 @@ z = x.multiply(y) // 4.1400000
toPrecision
methods enable trailing zeros to be added if and when required.