radianToGrad function

double radianToGrad (double radian)

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

Implementation

double radianToGrad(double radian) {
  return radian / constants.grad;
}