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
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |