Replace floats with doubles