Ad
  • Default User Avatar
  • Custom User Avatar

    I'm not keen on the hard coding for 'e', I know it's for the single case where scientific notation is used, but I used a regexp there to say that if any non digit, period, comma, or space is included in the string it should fail (This then holds for the cases where N, E, W, S are erroneously included, even though they are also handled by ParsFloat)