If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!
Moderators: Pete , Mods
brucelee
Newbie
Posts: 1 Joined: Tue Feb 26, 2019 1:43 pm
Post
by brucelee » Tue Feb 26, 2019 1:50 pm
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)
anymn
Newbie
Posts: 1 Joined: Mon Jan 07, 2019 11:06 am
Post
by anymn » Tue Mar 12, 2019 1:55 pm
thanks guys. ive tried resetting the models and its not making any difference. ive got five other transmitters so its not much of a problem. thanks for your help anyway.