Template:Decdeg/testcases

Lua

 * Normal
 * decdeg: 37°
 * decdeg/sandbox:
 * decdeg: 119°
 * decdeg/sandbox:


 * Lowercase hemispheres
 * decdeg: 37°
 * decdeg/sandbox:
 * decdeg: 119°
 * decdeg/sandbox:


 * Negative degrees, no hemisphere
 * decdeg: -37°
 * decdeg/sandbox:
 * decdeg: -119°
 * decdeg/sandbox:


 * Rounding
 * decdeg: 37°
 * decdeg/sandbox:
 * decdeg: 119°
 * decdeg/sandbox:


 * Negative input
 * decdeg: 37°
 * decdeg/sandbox:
 * decdeg: 119°
 * decdeg/sandbox:

Good syntax
 37°, 119°

 37°, 119°

 37°, 119°

 37.849923°, 119.567666°

 37.849923°, -119.567666°

 -0°, -0°

 0.85°, -0.5677778°