replace float on double