pi

This variable has the value of 3.14159265.

Range:

3.14159265

Type:

var, read-only

Example:

var radius;
function fläche_kreis(radius)
{
  return(radius * radius * pi); // pi * r²
}

See also:

return, var