Reference for Wiring version 0024+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.

Name

TWO_PI (6.28318...)

Description TWO_PI is a mathematical constant with the value 6.28318530717958647693. It is twice the ratio of the circumference of a circle to its diameter. It is useful in combination with the trigonometric functions sin() and cos().
Syntax
TWO_PI
Usage Application
Related PI
HALF_PI
Updated on November 01, 2009 01:06:23pm PST

Creative Commons License