changed validate_float() args to follow standard name as second arg