Throw an exception if the number formatter gets passed an invalid value.
Introduce a NumberFormatter::parseCurrency() method for parsing formatted values into numeric ones.