Latitude Longitude Validation Regex Javascript, Since, parseFloat takes a string and returns a number isNaN check isn't needed.