Convert location inputs into numeric values explicitly at the start of processing