PI

Previous  Next

 

pi = PI() AS REAL

 


 

Returns the value of PI (3.14159) as a REAL with 5 decimal accuracy.

 

Example:

 

DIM Diameter AS REAL

DIM Circumference AS REAL

Circumference = 10

Diameter = Circumference / PI