Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dialog
#1
Hi G. I have been looking over the forum for a code that i need.
this is what i need to code to do.

get text and remove commas and decimals
id(19) this id has a number varible in it.

ex.id19 --- 43,002.00 is the number in the id. i need to get that number and remove the commas and . (00) not needed.
i also need to get text from another id ( 49) which is in the same context for setup.

ex. id(49 --- 67,938,038.00 i need to add the number from id 19 into id 49
is this possible?
#2
str s.getwintext(id(19 ""))
s.replacerx(",")

str t.getwintext(id(49 ""))
t.replacerx(",")
int i = val(s)
int g = val(t)
g+i

out g


Forum Jump:


Users browsing this thread: 1 Guest(s)