Difference between revisions of "Template:Binary/testcases"
Jump to navigation
Jump to search
imported>Toohool (add testcases) |
imported>Toohool (add one more) |
||
| Line 18: | Line 18: | ||
| {{binary|-128892}} | | {{binary|-128892}} | ||
| {{binary/sandbox|-128892}} | | {{binary/sandbox|-128892}} | ||
| + | |- | ||
| + | | <nowiki>{{binary|-128892.5}}</nowiki> | ||
| + | | {{binary|-128892.5}} | ||
| + | | {{binary/sandbox|-128892.5}} | ||
|- | |- | ||
| <nowiki>{{binary|73.3333333}}</nowiki> | | <nowiki>{{binary|73.3333333}}</nowiki> | ||
Latest revision as of 01:42, 23 February 2013
| This is the template test cases page for the sandbox of Template:Binary. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
| Code | Result | Sandbox Result |
|---|---|---|
| {{binary|0}} | 02 | 02 |
| {{binary|65536}} | 100000000000000002 | 100000000000000002 |
| {{binary|128892}} | 111110111011111002 | 111110111011111002 |
| {{binary|-128892}} | -111110111011111002 | -111110111011111002 |
| {{binary|-128892.5}} | -11111011101111100.12 | -11111011101111100.12 |
| {{binary|73.3333333}} | 1001001.01010101012 | 1001001.01010101012 |
| {{binary|73.3333333|5}} | 1001001.010102 | 1001001.010102 |
| {{binary|73.3333333|0}} | 10010012 | 10010012 |
| {{binary|73.3333333|foo}} | 1001001.01010101012 | 1001001.01010101012 |
| {{binary|73|5}} | 1001001.000002 | 1001001.000002 |
| {{binary|73.25}} | 1001001.012 | 1001001.012 |
| {{binary|73.25|4}} | 1001001.01002 | 1001001.01002 |
| {{binary|{{#expr:1+3/8}}}} | 1.0112 | 1.0112 |
| {{binary|134217727.9999999}} | 111111111111111111111111111.11111111112 | 111111111111111111111111111.11111111112 |
| {{binary|145217727}} | 10001010011111011000101111112 | 10001010011111011000101111112 |
| {{binary|010}} | 10102 | 10102 |
| {{binary}} | {{{1}}} | {{{1}}}2 |
| {{binary|foo}} | foo | foo2 |