test for float input