a=32 hex=string.format("%02X",a) print(hex) b=tonumber(hex,16) print(b) debug("b = " .. b) play("l4w2o5a")