This post has been edited by coopetition: 03 May 2007 - 07:36 PM
Page 1 of 1
Quickbasic
Tweet
#2
Posted 30 April 2007 - 12:57 AM
coopetition, on Apr 29 2007, 06:36 PM, said:
sngNewSalary = sngSalary * .1
sngSalary is a STRING. Either change it to a SINGLE (or DOUBLE) or use the VAL() function to convert it to a numeric value in that expression.
Incidentally, I'm surprised, to say the least, that there are still schools teaching QB.
Page 1 of 1

Sign In »
Register Now!
Help

Back to top
MultiQuote