validate float number