Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Subract? Divide?
#1
Hey im killing myself tryin to figure this out lol i know i know how to do it just cant remember maybe have to use from but cant get it to work but what i want to do is below....

Macro ( Macro )
Code:
Copy      Help
str a b c
int d
0 WV "Finance"
a.getwintext(id(1918 "Finance"))
a.replacerx(",")
out a
d="1000000"
c=(d-a)
out c

Something like that but i know i dont use c=(d-a) please help lol only part i have problem with is the part to subtract a from int d maybe d must be a var. please help lol thanks!

Also same thing with this? Division? how would i do some kind of division...example...

Macro ( Macro2 )
Code:
Copy      Help
str a b c
a="100"
b="10"
c=a/b
out c


Thanks


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)