← All docs

pi()

Gets value of pi.

pi()

function pi(): float

Gets value of pi.

Parameters: none.

Returns: float

Availability

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how pi is implemented in the compiler, see the internals page.