Saturday, May 10, 2014

Android: Converting Between Degrees and Radians

After I explained in the previous post how to convert values from degrees to radians and vice versa in C#, I now want to publish an own post for Xamarin.
Of course one can use the manual functions defined there, or, like explained in this post, use predefined Java functions:

Degrees = Java.Lang.Math.ToDegrees (Radians);
Radians = Java.Lang.Math.ToRadians (Degrees);

No comments:

Post a Comment