tacmaf — 2011-09-27T09:04:55-04:00 — #1
Does anyone know the best way I can convert a string into minor currency?
i.e. 10.00 would become 1000
I can't just take out the decimal because it could also be 6.5 to 650 or 5 to 500.
gvre — 2011-09-27T09:10:05-04:00 — #2
I think that you want the major currency, not the minor. If so, try to multiply the value with 100.
tacmaf — 2011-09-27T09:13:44-04:00 — #3
Thanks. :eek: I should take some time off...