Results 1 to 10 of 10

Thread: Calculator Error (Overflow) (Please Reply)

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2005
    Posts
    109

    Calculator Error (Overflow) (Please Reply)

    If you've seen my other posts, then you know I have been making a calculator for my first program. I have been working on it for about 4 days now, trying to fix every error I come across. I have one more. If somone tries to do a problem, like 9999^9999 then the number will be to high, and they will get an overflow error. I need to know how I can set it up so if the answer is too high, then it makes the answer be somthing like '"Error! Number too high", and display that in the answer box on the calculator. Ive tried to set it so if:
    Number1^Number2 > 999999999999999 then Answer = "Error"
    Screen = Answer
    Yet, I still get the overflow error.

    P.S. I also have that problem with regular multiplication.
    Last edited by zach1188; Dec 3rd, 2005 at 04:15 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width