You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alvin Cheng edited this page Feb 12, 2023
·
1 revision
Description
This is the pi command, yes pi. Which is the circumference of a circle divided by the diameter, I am personally not a mathematic genius so if you want a more accurate and better explanation, refer to this page. Anyways, this command will return 15 digits of pi from the js math library. Further more. this command will not take any arguments except for the variable to return the value to. A worked example can be found below.