I need to retain the decimal or money format as this is supposed to be a total of dollars.
In general, it's best for input data that needs to be treated numerically to contain only digits, decimal point and minus sign. You can always reformat the result as decimal/currency at the output. If you are unsure about the currency used, include it in a separate element or as an attribute.