සැකිල්ල:Hex2dec/testcases
Appearance
This is the template test cases page for the sandbox of සැකිල්ල:Hex2dec. Purge this page 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 |
---|---|---|
{{hex2dec|0}} | 0 | 0 |
{{hex2dec|0x0000}} | 0 | 0 |
{{hex2dec|0x7C0}} | 1984 | 1984 |
{{hex2dec|0xFFFF}} | 65535 | 65535 |
{{hex2dec|0x845FED}} | 8675309 | 8675309 |
{{hex2dec|0x75BCD15}} | 123456789 | 123456789 |
{{hex2dec|0xDEADBEEF}} | 3735928559 | 3735928559 |
{{hex2dec|0xFFFFFFFF}} | 4294967295 | 4294967295 |
{{hex2dec|0xFFFFFFFFF}} | 68719476735 | 68719476735 |
{{hex2dec|7C0}} | 1984 | 1984 |
{{hex2dec|FFFF}} | 65535 | 65535 |
{{hex2dec|845FED}} | 8675309 | 8675309 |
{{hex2dec|0xa0}} | 160 | 160 |
{{hex2dec|a0}} | 160 | 160 |
{{hex2dec|0x00A0}} | 160 | 160 |
{{hex2dec|12345ABC}} | 305420988 | 305420988 |
{{hex2dec|12345ABC}} | 305420988 | 305420988 |
{{hex2dec}} | 0 | 0 |
{{hex2dec|}} | 0 | 0 |
{{hex2dec|foobar}} | 0 | 0 |
error / NaN / #default
[සංස්කරණය]{{hex2dec|foobar}} | Nan | 0 |