Difference between revisions of "Template:GBfromIEgrid"

From Wikishire
Jump to: navigation, search
Line 1: Line 1:
 
{{#switch:{{uc:{{{2}}}}}
 
{{#switch:{{uc:{{{2}}}}}
|E={{#round:{{#expr:sin(atan({{IeZero|{{{1}}}|E}}/{{IeZero|{{{1}}}|N}}) + 0.0850199433782504) * (sqrt({{IeZero|{{{1}}}|E}}^2 + {{IeZero|{{{1}}}|N}}^2) + 75)+117035}}|0}}
+
|E={{#expr:sin(atan({{IeZero|{{{1}}}|E}}/{{IeZero|{{{1}}}|N}}) + 0.0850199433782504) * (sqrt({{IeZero|{{{1}}}|E}}^2 + {{IeZero|{{{1}}}|N}}^2) + 75)+117035}} round 0}}
|N={{#round:{{#expr:cos(atan({{IeZero|{{{1}}}|E}}/{{IeZero|{{{1}}}|N}}) + 0.0850199433782504) * (sqrt({{IeZero|{{{1}}}|E}}^2 + {{IeZero|{{{1}}}|N}}^2) + 75)+391948}}|0}}
+
|N={{#expr:cos(atan({{IeZero|{{{1}}}|E}}/{{IeZero|{{{1}}}|N}}) + 0.0850199433782504) * (sqrt({{IeZero|{{{1}}}|E}}^2 + {{IeZero|{{{1}}}|N}}^2) + 75)+391948}} round 0}}
 
|''default yet to be programmed''
 
|''default yet to be programmed''
 
}}<noinclude>[[Category:Great Britain map templates]]
 
}}<noinclude>[[Category:Great Britain map templates]]
 
[[Category:Irish map templates]]</noinclude>
 
[[Category:Irish map templates]]</noinclude>

Revision as of 23:19, 21 February 2020

|N=Expression error: Unexpected < operator. round 0}} |default yet to be programmed }}