Replace float with discrete