Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using Currency to add sum of 2 numbers
#5
I think this might be more help!!

str wText1="$13.75"
str wText2="$0.25"

wText1.trim('$')
wText2.trim('$')

CURRENCY c1 c2
c1=val(wText1 2)
c2=val(wText2 2)
c1.add(c2)
out c1


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)