07-23-2008, 04:22 AM
Ok im making a calculator, and it works great pretty simple but im using qm, and i was just wondering. If there is a way better than how i do it. Here is how i do the adding part. just example:
str a = "22"
CURRENCY a1 = a
/out a1
str b = "44"
CURRENCY b1 = b
b1.add(a1)
out b1
and works great.. but is there a way for that when it its a character that is suppose to have a comma like 1,403 instead of just 1403 how would i have the macro do that.. i hope this was clear enough to under stand.
str a = "22"
CURRENCY a1 = a
/out a1
str b = "44"
CURRENCY b1 = b
b1.add(a1)
out b1
and works great.. but is there a way for that when it its a character that is suppose to have a comma like 1,403 instead of just 1403 how would i have the macro do that.. i hope this was clear enough to under stand.