change int type into double