Difference between revisions of "Template:IP Range/IP2Int"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
{{#vardefine:c|{{#expr:({{#var:c}} * 255) + {{#sub:0|{{#var:s}}|{{#var:t}}}}}}}} | {{#vardefine:c|{{#expr:({{#var:c}} * 255) + {{#sub:0|{{#var:s}}|{{#var:t}}}}}}}} | ||
{{#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:--> | {{#expr:--> | ||
({{#var:c}} * 255) + {{#sub:0|{{#var:s}}|{{#var:t}}}} | ({{#var:c}} * 255) + {{#sub:0|{{#var:s}}|{{#var:t}}}} |
Revision as of 12:38, 24 April 2007
( * 255) +
|
( * 255) +
|
( * 255) +
|
( * 255) +
|
( * 255) +
|