Function: DegMinSecToDecimal
Description
Converts a number in the format Degrees Minutes Seconds (DMS) to Decimal Degrees.
Syntax
DegMinSecToDecimal(degrees,minutes,[seconds])
Arguments
degrees, minutes and seconds must be numbers
seconds are optional
Return value
This function returns a value in decimal degrees.
Calculated field example
To convert the value 40° 26′ 46″, use the calculated field: DegMinSecToDecimal(40,26,46).
The function returns: 40.446 (40.446°)
© 2024 Altair Engineering Inc. All Rights Reserved.