Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get Window Text, If, Repat, etc.
#6
If there is comma, we have to remove it. Also, we should use variable of type double.

Code:
Copy      Help
str s
double d

s="16,205.50"
s.findreplace(",")
d=val(s 2)

mes d


Or, use variable of type CURRENCY.

Code:
Copy      Help
CURRENCY c
s="16,205.50"

c=s

mes c


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)