change float to double where necessary