mirror of
https://github.com/MikeMcl/decimal.js.git
synced 2026-03-02 03:49:24 +00:00
Add pi info
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user