Put longitude in the range from -180 to 180

standardizeLongitude(longitude)

Arguments

longitude

in degrees East, possibly exceeding 180

Value

longitude in signed degrees East

See also

matrixShiftLongitude() and shiftLongitude() are more powerful relatives to standardizeLongitude.