To convert custom characters into numbers, just put them into string and use INSTR. :D