Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Calculator Help
#3
Oh! Whenever I declare a variable, for some reason, if it isn't a string, I declare it as integer. Now I know that with calculator I shouldn't do that. Thank you!

I've tried to make Answer and Number variable as double, but it still isn't working.

Here is how I declared it:
Code:
Public Memory, Operation As String, Number, Answer As Double, x As Integer

Val is not a variable that I declared, it already exists in VB. I have no idea what I did wrong. I have no idea what to do. When I google it, it just shows the results which contain tutorials with all buttons except the one I need. Eh.

Regards,
Vinwarez.
Also known as Rocketalypse.
System.out.println("I prefer Java.");


Messages In This Thread
Calculator Help - by Vinwarez - 03-12-2012, 12:02 PM
Re: Calculator Help - by Vinwarez - 03-12-2012, 10:03 PM
Re: Calculator Help - by Vinwarez - 03-13-2012, 10:48 PM
Re: Calculator Help - by Vinwarez - 03-17-2012, 04:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  I need help making a calculator like a windows calculator Xandereliteinsight 4 17,924 07-24-2012, 07:53 AM
Last Post: Moldraxian

Forum Jump:


Users browsing this thread: 1 Guest(s)