The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



GeoLatitude


Unit:SDL_geodb
Class:None
Declaration:function GeoLatitude (InNum: double; Format: TDegreeFormat; Precision: integer): string;

The function GeoLatitude converts a decimal geographic latitude value contained in InNum into a string based on degrees, minutes and seconds. InNum make take values between -90 (degrees south) and +90 (degrees north); any values beyond this range are automatically set to the nearest limit. The parameter Format determines which format is used. The parameter Precision specifies the number of decimal places.

The following example shows the results of calling "GeoLatitude (-13.562, Format, 3)" using the three possible formats:

dfDeg 13.562 S
dfDegMin 13 31.560' S
dfDegMinSec 13 31' 33.600" S


Last Update: 2012-Oct-20