Returns the ratio of the circumference of a circle to its diameter, specified by the constant, π.

Syntax

Smartsite SXML CopyCode image Copy Code
float math.pi()

Parameters

This Viper method does not expose any parameters.

Return Value

Data Type Description
Float The value of the constant π (approx. 3.141593).

Expand image Examples

SXML