Difference between revisions of "Template:Hex2dec/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Toohool
(Created page with '{{template test cases notice}} {| class="wikitable" ! Code !! Result !! Sandbox Result |- | <nowiki>{{hex2dec|0}}</nowiki> | {{hex2dec|0}} | {{hex2dec/sandbox|0}...')
 
imported>Toohool
(add one)
Line 66: Line 66:
 
| {{hex2dec}}
 
| {{hex2dec}}
 
| {{hex2dec/sandbox}}
 
| {{hex2dec/sandbox}}
 +
|-
 +
| <nowiki>{{hex2dec|}}</nowiki>
 +
| {{hex2dec|}}
 +
| {{hex2dec/sandbox|}}
 
|-
 
|-
 
| <nowiki>{{hex2dec|foobar}}</nowiki>
 
| <nowiki>{{hex2dec|foobar}}</nowiki>

Revision as of 04:47, 24 February 2013

Code Result Sandbox Result
{{hex2dec|0}} 0 0
{{hex2dec|0x0000}} 0 0
{{hex2dec|0x7C0}} 1984 0
{{hex2dec|0xFFFF}} 65535 0
{{hex2dec|0x845FED}} 8675309 0
{{hex2dec|0x75BCD15}} 123456789 0
{{hex2dec|0xDEADBEEF}} 3735928559 0
{{hex2dec|0xFFFFFFFF}} 4294967295 0
{{hex2dec|0xFFFFFFFFF}} 68719476735 0
{{hex2dec|7C0}} 1984 0
{{hex2dec|FFFF}} 65535 0
{{hex2dec|845FED}} 8675309 0
{{hex2dec|0xa0}} 160 0
{{hex2dec|a0}} 160 0
{{hex2dec|0x00A0}} 160 0
{{hex2dec}} 0 0
{{hex2dec|}} 0 0
{{hex2dec|foobar}} 0 0