g.toDeg(rad)

Convert radians rad to degrees.