This Function is a Base converter that will take in any value from any base for [2,36] (I believe [] means inclusive, if I am mistaken, please correct me.)
The main difference between mine and many other converters of this type is that I use the BigInteger class (so .NET 4.0 is required), this makes it able to work with VERY large numbers, I think the only limit on it is at one part of my code I need to pass into a .substring an integer, so this limits the amount of digits of your number to about 2.4 billion (it is commented in my code where that is)
To use it, copy it into your code (ok.. hopefully that part was obvious):
Fully improved code on next post: (went from a 220 line function to a 72 or so line class) huge difference when switching from a select....case to having what i needed inside of a list and using .indexof and .item
Last edited by patplays852; Jul 20th, 2010 at 07:02 PM.
Reason: update