First version of getfloat