diff --git a/index.html b/index.html index 203940b..cc2bb1f 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.

- +

API

@@ -2633,6 +2633,9 @@ try { about 25 digits more than the precision required.

The value can also be shortened to reduce the size of the source file.

+

To get the value of pi:

+
+pi = Decimal.acos(-1)
@@ -2684,10 +2687,11 @@ z = x.multiply(y) // 4.1400000 toPrecision methods enable trailing zeros to be added if and when required.

- -