Module:Byte

From Wiki of ZZT
Jump to navigation Jump to search

Documentation for this module may be created at Module:Byte/doc

local p = {}

function p.byte(frame)
	local i = tonumber(frame.args[1])
	return string.format("%d (0x%02X)", i, i)
end

return p