to make double as double format