OK Thanks for that .
I need to brush up on my maths!
Search found 2 matches
Sin Cos
in gambas playground i typed:-
dim a as float
dim b as float
a=rad(90)
print sin(a)
print cos(a)
result:-
1
6.12323399573677E-17
What is wrong here?
Thanks.
dim a as float
dim b as float
a=rad(90)
print sin(a)
print cos(a)
result:-
1
6.12323399573677E-17
What is wrong here?
Thanks.