oce (version 1.8-2)

lonFormat: Format a Longitude

Description

Format a longitude, using "W" for west longitude.

Usage

lonFormat(lon, digits = max(6, getOption("digits") - 1))

Value

A character string.

Arguments

lon

longitude in \(^\circ\)N east of Greenwich.

digits

the number of significant digits to use when printing.

Author

Dan Kelley

See Also

latFormat() and latlonFormat().