Is your field set to data type currency?
http://office.microsoft.com/en-us/infopath-help/add-or-remove-a-currency-symbol-in-a-text-box-or-expression-box-HP010065296.aspx
I don't believe any additional validation or code is necessary if the data type and format are set up.