latFormat: Format a Latitude

latFormatR Documentation

Format a Latitude

Description

Format a latitude, using "S" for negative latitude.

Usage

latFormat(lat, digits = max(6, getOption("digits") - 1))

Arguments

lat

latitude in ^\circN north of the equator.

digits

the number of significant digits to use when printing.

Value

A character string.

Author(s)

Dan Kelley

See Also

lonFormat() and latlonFormat().


dankelley/oce documentation built on May 8, 2024, 10:46 p.m.