Return to Snippet

Revision: 6519
at May 27, 2008 05:38 by Meestercor


Initial Code
public class MathUtils {
 
		public static function radiansToDegrees(rad:Number):Number{
			return rad *180/Math.PI;
		}
 
		public static function degreesToRadians(deg:Number):Number{
			return deg*Math.PI/180;
		}
}

Initial URL

                                

Initial Description

                                

Initial Title
Radian and Degrees

Initial Tags
textmate, convert

Initial Language
Other