Lua

Normal

|deg=37|min=51|sec=|hem=N|rnd=

|deg=119|min=34|sec=04|hem=W|rnd=

Lowercase hemispheres

|deg=37|min=51|sec=|hem=n|rnd=

|deg=119|min=34|sec=04|hem=e|rnd=

Negative degrees, no hemisphere

|deg=-37|min=51|sec=|hem=|rnd=

|deg=-119|min=34|sec=04|hem=|rnd=

Rounding

|deg=37|min=51|sec=|hem=N|rnd=0

|deg=119|min=34|sec=04|hem=W|rnd=8

Negative input

|deg=37|min=-51|sec=|hem=N|rnd=

|deg=119|min=-34|sec=04|hem=W|rnd=

Good syntax

((decdeg
| deg = 37
| min = 51
| sec = 00
| hem = N
| rnd = 
)), 
((decdeg
| deg = 119
| min = 34
| sec = 04
| hem = W
| rnd = 
))
37°51′00″N 119°34′04″W / 37.85000°N 119.56778°W / 37.85000; -119.56778
37.85, -119.5677778 Working
37.85, -119.56778 Sandbox
((decdeg
| deg = 37
| min = 51
| hem = N
| rnd = 
)), 
((decdeg
| deg = 119
| min = 34
| hem = W
| rnd = 
))
37°51′N 119°34′W / 37.850°N 119.567°W / 37.850; -119.567
37.85, -119.5666667 Working
37.85, -119.567 Sandbox
((decdeg
| deg = 37
| hem = N
)), 
((decdeg
| deg = 119
| hem = W
))
37°N 119°W / 37°N 119°W / 37; -119
37, -119 Working
37, -119 Sandbox
((decdeg
| deg = 37.849923
| hem = N
)), 
((decdeg
| deg = 119.567666
| hem = W
))
37°51′00″N 119°34′04″W / 37.849923°N 119.567666°W / 37.849923; -119.567666
37.849923, -119.567666 Working
37.849923, -119.567666 Sandbox
((decdeg
| deg = 37.849923
)), 
((decdeg
| deg = -119.567666
))
37°51′00″N 119°34′04″W / 37.849923°N 119.567666°W / 37.849923; -119.567666
37.849923, -119.567666 Working
37.849923, -119.567666 Sandbox
((decdeg| deg = -0)),
((decdeg| deg = -0))
0°N 0°E / -0°N -0°E / -0; -0
-0, -0 Working
0, 0 Sandbox
((decdeg
| deg = 0.85
| min = 
| sec = 
| hem = 
| rnd = 5
)), 
((decdeg
| deg = -0.5677778
| min = 
| sec = 
| hem = 
| rnd = 5
))
0°51′00″N 0°34′04″W / 0.85°N 0.5677778°W / 0.85; -0.5677778
0.85, -0.56778 Working
0.85, -0.56778 Sandbox