bug #2951 [export] Correctly export decimal fields.