Map and Table Calculation

LON( ) function

Converts decimal degrees to longitudes, i.e. a string with degrees, minutes, seconds, E or W.

Syntax

LON(Value)

Input

Value is a value in degrees
Domain type: any Value domain

Output

LON returns: a string with degrees, minutes, seconds followed by E (East) or W (West), as DDD°MM'SS"E or DDD°MM'SS"W
Domain: system domain String

Notes:

Tip:

When the definition symbol = is used, a dependent output column is created; when the assignment symbol := is used, the dependency link is immediately broken after the output column has been calculated.

Usable in

TabCalc, Simple calculators

Examples

Pocket line calculator examples:

? LON(7.5050)

returns 7°30'18.00"E

? LON(-7.5050)

returns 7°30'18.00"E

TabCalc example:

OutCol = LON(InCol)

 

InCol

OutCol

25.0000

25°00'00.000"E

-25.0000

-25°00'00.000"W

45.0000

45°00'00.000"E

45.1250

45°07'30.000"E

45.2500

45°15'00.000"E

45.5000

45°30'00.000"E

45.7500

45°45'00.000"E

0.0000

0°0'00.000"E

?

? E/W

See also:

DEGREE SEC
DMS LAT