From 53dd288f041b92b15e000622a65a678b9317f610 Mon Sep 17 00:00:00 2001
From: Michael Mclaughlin
@@ -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.