Difference between revisions of "Template:BytesHover"
Jump to navigation
Jump to search
m (Created page with "{{HoverText|{{{1}}} bytes|{{#ifexpr:{{{1|0}}} >= 1024|{{#ifexpr:{{{1|1024}}} >= 1048576|{{#ifexpr:{{{1}}} >= 1073741824|{{#ifexpr:{{{1}}} >= 1099511627776|{{#ifexpr:{{{1}}} >= 11…") |
m (no unit flag) |
||
Line 1: | Line 1: | ||
{{HoverText|{{{1}}} bytes|{{#ifexpr:{{{1|0}}} >= 1024|{{#ifexpr:{{{1|1024}}} >= 1048576|{{#ifexpr:{{{1}}} >= 1073741824|{{#ifexpr:{{{1}}} >= 1099511627776|{{#ifexpr:{{{1}}} >= 1125899906842624|{{#expr:{{#sub:{{#expr:{{{1|1025}}} * 8.8822282862111023860052227973938e-16}}|0|5}}}} PiB|{{#expr:{{#sub:{{#expr:{{{1|1025}}} * 9.0954017650801688432693481445313e-13}}|0|5}}}} TiB}}|{{#expr:{{#sub:{{#expr:{{{1|1025}}} * 9.3136914074420928955078125e-10}}|0|5}}}} GiB}}|{{#expr:{{#sub:{{#expr:{{{1|1025}}} * 9.537220001220703125e-7}}|0|5}}}} MiB}}|{{#expr:{{#sub:{{#expr:{{{1|1024}}} * 9.76611328125e-4}}|0|5}}}} KiB}}|{{{1}}} bytes}}}} | {{HoverText|{{#if:{{{nu|}}}|{{{1}}}|{{{1}}} bytes}}|{{#ifexpr:{{{1|0}}} >= 1024|{{#ifexpr:{{{1|1024}}} >= 1048576|{{#ifexpr:{{{1}}} >= 1073741824|{{#ifexpr:{{{1}}} >= 1099511627776|{{#ifexpr:{{{1}}} >= 1125899906842624|{{#expr:{{#sub:{{#expr:{{{1|1025}}} * 8.8822282862111023860052227973938e-16}}|0|5}}}} PiB|{{#expr:{{#sub:{{#expr:{{{1|1025}}} * 9.0954017650801688432693481445313e-13}}|0|5}}}} TiB}}|{{#expr:{{#sub:{{#expr:{{{1|1025}}} * 9.3136914074420928955078125e-10}}|0|5}}}} GiB}}|{{#expr:{{#sub:{{#expr:{{{1|1025}}} * 9.537220001220703125e-7}}|0|5}}}} MiB}}|{{#expr:{{#sub:{{#expr:{{{1|1024}}} * 9.76611328125e-4}}|0|5}}}} KiB}}|{{{1}}} bytes}}}} |
Revision as of 10:23, 4 May 2012
{{{1}}} bytes