Kernel 8.0 APIs Banner [skip navigation]
Office of Information & Technology (OIT) Banner

$$DMSDEC^XLFMTH(): Convert Degrees:Minutes:Seconds to Decimal

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

Description

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

Format

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

Input Parameters

x:

(required) Degrees:minutes:seconds input number to be converted to decimal.

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 degrees:minutes:seconds input number to decimal.

Example

>S X=$$DMSDEC^XLFMTH("30:42:0")

>W X
30.7


VA (Internet) / VA(Intranet) / OI / PD / Site Map / Terms of Use / VA Privacy Policy / Accessibility

Reviewed/Updated: August 26, 2011

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.