Widget:Dmh2Deg
From CruisersWiki
(Difference between revisions)
(convert formatted dmh) |
|||
Line 1: | Line 1: | ||
<!--{ | <!--{ | ||
- | assign var='d' value=$c|regex_replace:"/ | + | assign var='d' value=$c|regex_replace:"/([^ ]+) ([^ ]+) ([^ ]+)/":"\\1"}--><!--{ |
- | if $ | + | if $d == ''}--><!--{ |
$c}--><!--{ | $c}--><!--{ | ||
else}--><!--{ | else}--><!--{ | ||
- | assign var=' | + | assign var='h' value=$c|regex_replace:"/([^ ]+) ([^ ]+) ([^ ]+)/":"\\3"}--><!--{ |
- | + | if $h == 's' || $h == 'S' || $h == 'w' || $h == 'W'}-->-<!--{/if}--><!--{ | |
- | + | math equation="d+m/60" d=$d m=$c|regex_replace:"/([^ ]+) ([^ ]+) ([^ ]+)/":"\\2"}--><!--{ | |
- | if $h == 's' || $h == 'S' || $h == 'w' || $h == 'W'}--> | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | math equation=" | + | |
/if}--> | /if}--> |
Revision as of 13:30, 22 December 2016
-