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

5.11. parseLon(): Parse longitude

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

parseLon ( s )

If the argument s is a valid longitude string in degrees, it is returned as a value in radians in the interval [0, 2π). It will raise a SyntaxError if s does not have the correct format.