degrees method

num degrees(
  1. num angle
)

Implementation

num degrees(num angle) {
  return (angle / math.pi) * 180;
}