Next / Previous / Contents / TCC Help System / NM Tech homepage

5.10. parseLat(): Parse latitude

This function parses a latitude string in the form described in Section 3.3, “Specifying latitude and longitude on command lines”.

parseLat ( s )

If the argument s is a valid latitude string in degrees, it is returned as a signed value in radians in the interval [-π, π]. It will raise a SyntaxError if s does not have the correct format.