Convert decimal to hex in Lua 4?
snippet in lua

Convert decimal to hex in Lua 4?

user1297

local input = 0.5
local output = string.format("%x", input * 255) -- "7F"