2 Topics

Member Avatar for
Member Avatar for vckicks

The .Net Framework uses by default radians in its trigonometry calculations. Find out how to convert degrees to radians to use with C#

Member Avatar for ddanbe
1
703
Member Avatar for ddanbe

If you have to convert an angle from degrees to radians and way back, here are some utility functions in C#, along with a program to test them. I made use of the "out" keyword here, which allows a function to return more than one value. An alternative would be …

0
339

The End.