J
Jack Leach
Hi,
This isn't *exactly* a VBA question, but I'm hoping someone here might be
able to answer, as I can't seem to find the info anywhere else.
Triginomic functions in vba return an answer in Radians... is there a way
to get this in decimal values?
For example, as far as I know, the Tangent of an angle of 45° is 1. The
Cosine of 45° is 0.707106...
But in VBA,
?tan(45)
1.61977519054386
?cos(45)
0.52532198881773
whereas my TI Calculator and my reference (Machinery's Handbook) state that:
Tan(45) = 1
Cos(45) = 0.707106781
I understand that VBA returns these values in Radians rather than decimal
value... is there a way to get the decimal value for these triginomic
functions rather than the Radians?
Thanks,
--
Jack Leach
www.tristatemachine.com
"I haven''t failed, I''ve found ten thousand ways that don''t work."
-Thomas Edison (1847-1931)
This isn't *exactly* a VBA question, but I'm hoping someone here might be
able to answer, as I can't seem to find the info anywhere else.
Triginomic functions in vba return an answer in Radians... is there a way
to get this in decimal values?
For example, as far as I know, the Tangent of an angle of 45° is 1. The
Cosine of 45° is 0.707106...
But in VBA,
?tan(45)
1.61977519054386
?cos(45)
0.52532198881773
whereas my TI Calculator and my reference (Machinery's Handbook) state that:
Tan(45) = 1
Cos(45) = 0.707106781
I understand that VBA returns these values in Radians rather than decimal
value... is there a way to get the decimal value for these triginomic
functions rather than the Radians?
Thanks,
--
Jack Leach
www.tristatemachine.com
"I haven''t failed, I''ve found ten thousand ways that don''t work."
-Thomas Edison (1847-1931)