I want to be able to safely take monetary values, that look like 5 or 5.12 dollars and convert them to cents, like 500 and 512 respectively.