btpoole
10 years agoChannel Surfer
RETAIN 00 AFTER DECIMAL
I am trying to join a set of numbers that is where one is a integer and the other comes from a string. I am not sure of how to get it to work. I have the integer for example 12, I wish to join 00 directly after the 2. As you might guess I get type mismatch. I have tried couple of ways but either the 00 are not added or I get type mismatch. My latest effort shown here:
number=12
whole= str(1.00)
whole=mid(whole,3,2)
total= number + whole
Hoping total would be 1200
Any help or advice appreciated
Thanks
number=12
whole= str(1.00)
whole=mid(whole,3,2)
total= number + whole
Hoping total would be 1200
Any help or advice appreciated
Thanks