Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Calculator Help
#6
Alright, so since the variable Number seems to be a String... I changed the following line:
Code:
Answer = Number + CDbl(Val(txtMain.Text))

To

Code:
Answer = CDbl(Val(Number)) + CDbl(Val(txtMain.Text))

And that seems to fix the problem. Let me know!
My Blog | My Setup | My Videos | Have a wonderful day.


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 brandonio21_phpbb3_import2 - 03-14-2012, 02:43 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 16,336 07-24-2012, 07:53 AM
Last Post: Moldraxian

Forum Jump:


Users browsing this thread: 1 Guest(s)