Actions

Template

Difference between revisions of "Hex2Dec"

From NEC Retro

(Created page with "<includeonly>{{#vardefine:i|0}}{{#vardefine:length|{{#len:{{{1|}}}}}}}{{#vardefine:output|0}}{{#while: | {{#ifexpr:{{#var:i}} < {{#var:length}}|true}} | {{#vardefine:currentch...")
 
m (Black Squirrel moved page Template:HexToDec to Template:Hex2Dec without leaving a redirect: consistency)
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
 
Hexadecimal to decimal converter.
 
Hexadecimal to decimal converter.
  
<pre>{{HexToDec|FF}}</pre>
+
<pre>{{Hex2Dec|FF}}</pre>
{{HexToDec|FF}}
+
{{Hex2Dec|FF}}
  
<pre>{{HexToDec|ABCDEF}}</pre>
+
<pre>{{Hex2Dec|ABCDEF}}</pre>
{{HexToDec|ABCDEF}}
+
{{Hex2Dec|ABCDEF}}
  
<pre>{{HexToDec|A}}</pre>
+
<pre>{{Hex2Dec|A}}</pre>
{{HexToDec|A}}
+
{{Hex2Dec|A}}
  
<pre>{{HexToDec|3}}</pre>
+
<pre>{{Hex2Dec|3}}</pre>
{{HexToDec|3}}
+
{{Hex2Dec|3}}
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 04:14, 24 February 2022

Hexadecimal to decimal converter.

{{Hex2Dec|FF}}

255

{{Hex2Dec|ABCDEF}}

11259375

{{Hex2Dec|A}}

10

{{Hex2Dec|3}}

3