remove dead code
add a test for urlParamToFloat