ten()

Scientific results for this function.

All 499 calendar, clock, era, angle and setting checks in A01 passed. The largest discrepancy across 240 absolute Julian dates was 0.000021 seconds. A01 results.

Function index

The sign applies to the whole angle. The magnitude is the sum of absolute degrees, minutes divided by 60 and seconds divided by 3600. With numeric components the first nonzero component sets the sign and later components must be nonnegative. A string may contain one to three colon- or space-separated components and an optional leading sign. A string such as "-0:30" preserves the negative sign even when degrees are zero.

Preserving the original field representation.

Implementation arguments, return value and documented modes
Argument Formal default Behaviour in this interface
dd —

Degrees as a finite numeric scalar, or a single character string containing an angle, for example "-8:30:00".

mm 0

Arcminutes as a finite numeric scalar. Defaults to zero.

ss 0

Arcseconds as a finite numeric scalar. Defaults to zero.

Return value

A numeric scalar giving the angle in signed decimal degrees.

Implementation. R/misc.R. Full function help · Time, coordinates and ephemerides outline · Astronomical conventions and stellar positions · Reduce a theodolite survey with a solar sight