Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Data type conversion
#2
To convert string to numeric, use function val. To convert numeric to str, simply use =.

stepsize1=a1.Name
stepsize2=a2.Name
int sum=val(stepzize1)+val(stepsize2)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)