ConvertLongitude function

Converts between longitude conventions