03-12-2012, 10:03 PM
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:
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.
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.");
System.out.println("I prefer Java.");