Difference between revisions of "Template:IP Range/IP2Int"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
{{#vardefine:t|{{#var:s}}}} | {{#vardefine:t|{{#var:s}}}} | ||
{{#vardefine:s|{{#expr:{{#pos:{{{1}}}.0.0.0.0|.}}+{{#var:t}}}}}}--> | {{#vardefine:s|{{#expr:{{#pos:{{{1}}}.0.0.0.0|.}}+{{#var:t}}}}}}--> | ||
{{#expr:({{#var:c}} * 255) + {{#sub:0|{{#var:s}}|{{#var:t}}}}}} | {{#expr:--> | ||
({{#var:c}} * 255) + {{#sub:0|{{#var:s}}|{{#var:t}}}} | |||
<!--}}--> | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> |
Revision as of 12:37, 24 April 2007
{{#expr:--> ( * 255) +
|
{{#expr:--> ( * 255) +
|
{{#expr:--> ( * 255) +
|
{{#expr:--> ( * 255) +
|
{{#expr:--> ( * 255) +
|