modified type about float to double