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:
parent
cefd7f5db8
commit
c39ab46529
@ -2628,6 +2628,9 @@ try {
|
||||
about <code>25</code> digits more than the precision required.
|
||||
</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>
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user