Computes the number pi.

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

    • Optionalcoefficient: number = 1

      The coefficient to multiply pi with

    Returns number