syntax:functions:pi
Table of Contents
Pi()
Category: Number function
Description
This function returns the value of Pi (π): 3.1415926535897932384626433833…
Arguments
This function requires no arguments.
Return value type: Number
Remarks
Pi is an irrational number with no final digit and can be represented by the fraction 22/7 .
Examples
pi() //Returns 3.1415926535897932384626433833
pi() * 2 * 3 //Returns 18.85 (Circumference of a circle with a radius of 3.)
pi() * square(3) = 28.27 (Area of a circle with a radius of 3.)
syntax/functions/pi.txt · Last modified: 2021/08/11 15:27 by craigt