Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. OldWindows

    round Cosine

    i tried 60 degrees and it still says "1". ill paste the part of the code with the COS function 117 IF choice = 11 THEN PRINT "please enter your number" IF choice = 11 THEN DIM csintimes IF choice = 11 THEN INPUT csintimes IF choice = 11 THEN LET p = csintimes IF choice = 11 THEN LET a =...
  2. OldWindows

    round Cosine

    sorry, i just got back from work and it was a crappy day and im TIRED :o
  3. OldWindows

    round Cosine

    oh i get it The answer is any number does that. Absolutely any number.
  4. OldWindows

    round Cosine

    ??? sorry, i havent gone through much algebra, this is confusing, i am just trying to produce the calculator, i can give you the source code if you want. i attatched BAS file of the source code you can view with qbasic and suggest improvement...
  5. OldWindows

    round Cosine

    was making qbasic calculator... one choice is cos(number) and for the cos functions i use cos(number) and no matter what number i use the answer is one. I take it that the answer is too many digits long (prob nonteminating) and it rounds to an integer, however i would like it to round to say 6...

Part and Inventory Search

Back
Top