1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2024-10-27 20:34:12 +00:00

Add pi info

This commit is contained in:
Michael Mclaughlin 2016-01-28 23:10:26 +00:00
parent cefd7f5db8
commit c39ab46529

View File

@ -2628,6 +2628,9 @@ try {
about <code>25</code> digits more than the precision required. about <code>25</code> digits more than the precision required.
</p> </p>
<p>The value can also be shortened to reduce the size of the source file.</p> <p>The value can also be shortened to reduce the size of the source file.</p>
<p>To get the value of pi:</p>
<pre>
pi = Decimal.acos(-1)</pre>