From 0a81a6758a66e61ca682e89a0fbdc118cf5b913e Mon Sep 17 00:00:00 2001 From: jeffjing Date: Wed, 8 May 2019 21:13:01 +0800 Subject: [PATCH] docs: typo fixed Related to [#73](https://github.com/MikeMcl/decimal.js/pull/73/files) --- doc/API.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/API.html b/doc/API.html index 600ec0e..cfdb617 100644 --- a/doc/API.html +++ b/doc/API.html @@ -2050,7 +2050,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'