Difference between revisions of "Template:SextantConvert"

m
m
Line 57: Line 57:
 
-->{{#vardefine:tempX|{{#explode:{{#var:Sx}}|.|0}}}}<!--
 
-->{{#vardefine:tempX|{{#explode:{{#var:Sx}}|.|0}}}}<!--
 
-->{{#vardefine:tempY|{{#explode:{{#var:Sy}}|.|0}}}}<!--
 
-->{{#vardefine:tempY|{{#explode:{{#var:Sy}}|.|0}}}}<!--
-->{{#vardefine:SouthNorth|{{#ifexpr:{{#var:tempY}} < 0|N{{#vardefine:tempY|{{#expr:0-{{#var:tempY}}}}}}|S}} }} {{#vardefine:EastWest|{{#ifexpr:{{#var:tempX}} < 0|W{{#vardefine:tempX|{{#expr:0-{{#var:tempX}}}}}}|E}} }}
+
-->{{#vardefine:SouthNorth|{{#ifexpr:{{#var:tempY}} < 0|N{{#vardefine:tempY|{{#expr:0-{{#var:tempY}}}}}}|S}} }}<!--
 +
-->{{#vardefine:EastWest|{{#ifexpr:{{#var:tempX}} < 0|W{{#vardefine:tempX|{{#expr:0-{{#var:tempX}}}}}}|E}} }}<!--
 +
-->{{#var:tempY}}o {{#sub:{{#expr:{{#sub:{{#explode:{{#var:Sy}}|.|1}}|0|2}} * 60}}|0|2}}'{{#var:SouthNorth}}, {{#var:tempX}}o {{#sub:{{#expr:{{#sub:{{#explode:{{#var:Sx}}|.|1}}|0|2}} * 60}}|0|2}}'{{#var:EastWest}}

Revision as of 02:37, 7 September 2020

Expression error: Unexpected < operatoro <s'Expression error: Unexpected < operator., Expression error: Unexpected < operatoro <s'Expression error: Unexpected < operator.