Search found 2 matches

by mugwump
Thursday 12th August 2021 9:50am
Forum: General
Topic: Sin Cos
Replies: 4
Views: 3173

Re: Sin Cos

OK Thanks for that .
I need to brush up on my maths!
by mugwump
Tuesday 10th August 2021 6:21pm
Forum: General
Topic: Sin Cos
Replies: 4
Views: 3173

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.