Search:

Type: Posts; User: krowley

Search: Search took 0.10 seconds.

  1. Replies
    18
    Views
    910

    Re: Simple Calculator HELP

    Okay, thank you for you help. I will try and fix it from here.
  2. Replies
    18
    Views
    910

    Re: Simple Calculator HELP

    finalNumber at start: 0.
    placeValue:
    1
    10
    100
    1000
    10000
    100000
    1000000
    10000000
  3. Replies
    18
    Views
    910

    Re: Simple Calculator HELP

    0
    0
    0
    0
    0
    0
    0
    0
    0
    -589934592
  4. Replies
    18
    Views
    910

    Re: Simple Calculator HELP

    Well, in BlueJ there is a built in debugger. And the thing is that when I press 8 I get the number -58993459 for the value of finalNumber, while 8 the number is located at [0] in the array.
  5. Replies
    18
    Views
    910

    Re: Simple Calculator HELP

    I have already debugged the code. The code is literally perfect until the final steps. However, when the index 0, the variable become a weird number. finalNumber becomes 41600409 and placeValue...
  6. Replies
    18
    Views
    910

    Re: Simple Calculator HELP

    The code is executed in BlueJ. When you create a class in BlueJ, it allows you to open it without that-- I think. There really isn't much of a problem with the Calculator and the UserInterface...
  7. Replies
    18
    Views
    910

    Re: Simple Calculator HELP

    The actual numbers in-putted. This whole point of my project is to create a simple calculator. I should be able to input the number 123 and actually get 123. I have buttons that are used with action...
  8. Replies
    18
    Views
    910

    Re: Simple Calculator HELP

    When I press 9 I get: 41006540
    8:-58993459
    7:-158993459
    6:170503270
    5:70503270
    4:-29496729
    3:-129496729
    2:200000000
    1:100000000
    0:0
  9. Replies
    18
    Views
    910

    Re: Simple Calculator HELP

    Okay. I am new. Thank you!
  10. Replies
    18
    Views
    910

    Simple Calculator HELP

    I need help with my getDisplayValue() method. I am trying to iterate though an Array to display a value in a calculator, but I doesn't work. I keep on getting these weird magical numbers at the end...
Results 1 to 10 of 10