Skip to content

Pi command

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.

Example

$PI = (pi);

Clone this wiki locally