tests for float point input