Convert base-27 (or base-X) to base-10 in c#?
Is there a ready made function to be able to do base conversions in c#? I am looking to convert from base 26 and base base 27 numbers to base 10. I can do it on paper but i am not a very experienced programmer and would rather not do it from scratch if possible. Thanks! There is a ready-made function to convert numbers from base 2, 8 or 16 to base 10 ( Convert.ToInt32 ). If you want to convert numbers from base 26 or base 27 to base 10, you'll have to do it yourself. Now, I've never heard of base 26 numbers, so I'm just going to assume the 'digits' are A to Z (A having a value of 0, and Z