Cast input data to float64