Change preference type from float to decimal