Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get correct value?
#1
When using this it will drop all, 0's at the beginning no matter how many before.
How can i get it not to drop the 0's
Thanks.

Code:
Copy      Help
str a = "001"
int b = val(a)
str c = "003"
int d = val(c)
out b+d
#2
Macro
Code:
Copy      Help
str a = "001"
int b = val(a)
str c = "003"
int d = val(c)
out "%03i" b+d
#3
thank you.


Forum Jump:


Users browsing this thread: 1 Guest(s)