gradToRadian function

double gradToRadian (double grad)

Converts a grad (400-periodic) angle to a radian (2*Pi-periodic) angle.

Implementation

double gradToRadian(double grad) {
  return grad * constants.grad;
}