Math.PI

The .PI property represents the number Pi.

Applies To

Description

Properties and Methods

None

Available

The .PI property is available in:

  • 15.03.016
  • All newer builds

Type

Decimal

Syntax

Math.PI;

Parameters

None

Example

var lcMath = Convert.ToString(Math.PI);

Event.Form.MessageBox(lcMath);

 

/* Expected System Prompt Display:

3.14159265358979

*/