use value as both input and check
add tests for GetFloat