Search found 1 match

by brucelee
Tue Feb 26, 2019 1:50 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: cos(90) problem
Replies: 1
Views: 28485

cos(90) problem

I tried simple trigonometry in QB but it works fine for any value except 90 degree, what's the problem or I shouldn't use 90 degree in cos in QB?

Code: Select all

const pi = 3.1415
print cos(90*pi/180)