Kernel V. 8.0 APIs Banner [skip navigation]
VHA Office of Information - Health Systems Design and Development (HSD&D) Banner

$$DECDMS^XLFMTH(): Convert Decimals to Degrees:Minutes:Seconds

Reference Type: Supported, Category: Math Functions, Integration Agreement: 10105

Description

This extrinsic function converts a number from decimal to degrees:minutes:seconds.

Format

  $$DECDMS^XLFMTH(x[,n])

Input Parameters

x:

(required) Decimal number to be converted to degree:minutes:second.

n:

(optional) The precision for the function. Precision means the detail of the result, in terms of number of digits.

Output

returns:

Returns the converted decimal input number to degrees:minutes:seconds.

Example

>S X=$$DECDMS^XLFMTH(30.7)

>W X
30:42:0


VA (Internet) / VA (Intranet) / OI / HSD&D / Site Map / Terms of Use / VA Privacy Policy / Accessibility

Reviewed/Updated: December 14, 2005

If you have questions, need more information, or are having accessibility problems with this website, please contact us by E-Mail: Webmasters, Phone: 510-768-6800, or FAX: 510-768-6850.