• Computes the number pi.

    Parameters

    • Optional coefficient: number = 1

      The coefficient to multiply pi with

    Returns number

    Example

    const PI = Chalkboard.PI(); // returns 3.1415926535897936
    const TAU = Chalkboard.PI(2); // returns 6.283185307179587

Generated using TypeDoc