Difference between revisions of "Template:Octal"
Jump to navigation
Jump to search
m (Still playing) |
|||
Line 1: | Line 1: | ||
− | {{#ifexpr: {{{1}}} < 0|-|}} | + | {{#ifexpr: {{{1}}} < 0|-|}}{{#expr:({{Abs|{{{1}}}}} / 512) mod 8}}{{#expr:({{Abs|{{{1}}}}} / 64) mod 8}}{{#expr:({{Abs|{{{1}}}}} / 8) mod 8}}{{#expr:({{Abs|{{{1}}}}} / 1) mod 8}}<noinclude> |
− | {{#expr:({{Abs|{{{1}}}}} / 512) mod 8}}{{#expr:({{Abs|{{{1}}}}} / 64) mod 8}}{{#expr:({{Abs|{{{1}}}}} / 8) mod 8}}{{#expr:({{Abs|{{{1}}}}} / 1) mod 8}}<noinclude> | ||
This template converts numbers to Octal notatation. use is <nowiki>{{Octal|Number}}</nowiki> | This template converts numbers to Octal notatation. use is <nowiki>{{Octal|Number}}</nowiki> | ||
</noinclude> | </noinclude> |
Revision as of 22:10, 22 December 2006
Expression error: Unrecognized punctuation character "{".Expression error: Unexpected < operator.Expression error: Unexpected < operator.Expression error: Unexpected < operator.Expression error: Unexpected < operator. This template converts numbers to Octal notatation. use is {{Octal|Number}}