only convert submitted lat and long to float if they exist