<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://alttp.mymm1.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AMath%2FDec2Hex</id>
	<title>Module:Math/Dec2Hex - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://alttp.mymm1.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AMath%2FDec2Hex"/>
	<link rel="alternate" type="text/html" href="http://alttp.mymm1.com/w/index.php?title=Module:Math/Dec2Hex&amp;action=history"/>
	<updated>2026-07-09T07:13:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>http://alttp.mymm1.com/w/index.php?title=Module:Math/Dec2Hex&amp;diff=2734&amp;oldid=prev</id>
		<title>Matrethewey!9776: Created page with &quot;local p = {}  function dec2hex(decnum)   return string.format(&quot;%X&quot;, decnum) end  function p._convert(n)   return dec2hex(n) end  function p.convert(frame)   -- Allow for invoc...&quot;</title>
		<link rel="alternate" type="text/html" href="http://alttp.mymm1.com/w/index.php?title=Module:Math/Dec2Hex&amp;diff=2734&amp;oldid=prev"/>
		<updated>2020-03-27T22:25:03Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local p = {}  function dec2hex(decnum)   return string.format(&amp;quot;%X&amp;quot;, decnum) end  function p._convert(n)   return dec2hex(n) end  function p.convert(frame)   -- Allow for invoc...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
function dec2hex(decnum)&lt;br /&gt;
  return string.format(&amp;quot;%X&amp;quot;, decnum)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._convert(n)&lt;br /&gt;
  return dec2hex(n)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.convert(frame)&lt;br /&gt;
  -- Allow for invocation via #invoke or directly from another module&lt;br /&gt;
  local args&lt;br /&gt;
  if frame == mw.getCurrentFrame() then&lt;br /&gt;
    args = frame.args&lt;br /&gt;
  else&lt;br /&gt;
    args = frame&lt;br /&gt;
  end&lt;br /&gt;
  local n = tonumber(args[1])&lt;br /&gt;
  return p._convert(n)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Matrethewey!9776</name></author>
	</entry>
</feed>