replace number by double