pi
Pi is 3.14159265...
Pi is not a function, but rather a constant value commonly used in programming progeCAD with LISP. The value of pi is approximately equal to 3.14159265.
Examples
Code | Returns |
---|---|
!pi | 3.14159 |
WARNING It is possible to lose the value of pi. For example, the following code causes pi to take on the value of 2.0:
Code | Returns |
---|---|
(setq pi 2.0) | 2.0 |
!pi | 2.0 |