Hi,
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.

Cheers,
Rhys