gradToDegree function

double gradToDegree (double grad)

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

Implementation

double gradToDegree(double grad) {
  return grad * 0.9;
}