I am trying to create a method in BlueJ called,
toRadians();
The point of this method is to take a any number below 360 and change it into radians. Here is the method code.
public void toRadians(double tempDegrees)
{
Math.toRadians(tempDegrees)
}
The line of code used to call this method:
toRadians(beamAngleHalf);
When this method is called is doesn't change beamAngleHalf into radians. I know this is very basic. How can this be resolved?