PI Property

See Also Applies To Example Model

Returns the number 3.14159265358979, the mathematical constant pi. Read only Double.

Example

The following example converts the angle returned by the AngleTo method from degrees to radians.

angleinradians = Bot.AngleTo(World.Screen.Center)*World.Math.PI/180.0