degreeToGrad function

double degreeToGrad (double degree)

Converts a degree (360-periodic) angle to a grad (400-periodic) angle.

Implementation

double degreeToGrad(double degree) {
  return degree * _degreeToGradConstant;
}