Fix decimals on record add/edit