Pi

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Math > Trigonometric function >

Pi

 

Description

 

Pi ( π ) is the ratio of a circle's circumference to its diameter.

 

Syntax

 

n = Pi

 

Returns

 

Value returned is: 3.14159265358979324

 

Parameters

 

Name

Type

Optional

Meaning





 

Remarks

 

Pi ( π ) value can be calculated using the following formula:

 

PiVal = 4 * ATN(1)

 

Restrictions

 

See also

 

Examples