The *input* is an angle *not* the output...
As BMax expects all angles to be in degrees, you need to convert from radians...
I don't know why you'd want to convert degrees to radians and back again, but still. ;o)
As BMax expects all angles to be in degrees, you need to convert from radians...
Const RADIANS_TO_DEGREES! = 180.0! / Pi Const DEGREES_TO_RADIANS! = Pi / 180.0! Print "Sine of Rad = " + Sin(54.66 * DEGREES_TO_RADIANS!) ' wrong Print "Sine of Deg = " + Sin((54.66 * DEGREES_TO_RADIANS!) * RADIANS_TO_DEGREES!) ' right, but mad! Print "Sine of Deg = " + Sin(54.66) ' right
I don't know why you'd want to convert degrees to radians and back again, but still. ;o)