• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1863
  • Last Modified:

Math: Convert base 10 to base 32

I know that VB.NET doesn't have a ConvertToBase(Number,Base) built in.

Does someone have any base 32 functions already whipped up?

I need something like:

ConvertToBase32(byval Input as integer) as string

and

ConvertFromBase32(byval Input as string) as integer

Thanks!
0
thomp361
Asked:
thomp361
  • 4
  • 3
1 Solution
 
xersoftCommented:
0
 
thomp361Author Commented:
Saw it, it works but the padding has issues...I could just modify that if no one else has any pre-made functions.  

I can't believe this isn't built into the framework!
0
 
xersoftCommented:
is there anything in here that will help you?

system.Text.UTF32Encoding
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
xersoftCommented:
Sorry I don't believe this is what you want.
0
 
thomp361Author Commented:
nope, thanks for the comment though.
0
 
xersoftCommented:
Here is another piece of code you might be able to use. It's pretty old but you can probably convert it to .net.

http://www.programmersheaven.com/download/320/download.aspx
0
 
thomp361Author Commented:
I guess that example will have to work, thanks!
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now