slot0 = { [0] = "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G" } function slot1(slot0) for slot4, slot5 in pairs(uv0) do if slot5 == slot0 then return slot4 end end return 0 end function slot2(slot0, slot1) slot3 = {} function (slot0, slot1) if slot0 < uv0 then table.insert(slot1, slot0) else uv1(math.floor(slot0 / uv0), slot1) table.insert(slot1, slot0 % uv0) end end(slot0, slot3, slot1) return slot3 end function ConvertDec2X(slot0, slot1) for slot7, slot8 in ipairs(uv0(slot0, slot1)) do slot3 = "" .. uv1[slot8] end return slot3 end function ConvertStr2Dec(slot0, slot1) slot2 = {} slot4 = string.len(slot0) while slot4 > 0 do slot2[#slot2 + 1] = uv0(string.sub(slot0, slot4, slot4)) slot4 = slot4 - 1 end for slot9, slot10 in ipairs(slot2) do slot5 = 0 + slot10 * math.pow(slot1, slot9 - 1) end return slot5 end