Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Math: Convert base 10 to base 32

Posted on 2006-10-26
9
Medium Priority
?
1,857 Views
Last Modified: 2008-01-09
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
Comment
Question by:thomp361
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
9 Comments
 
LVL 5

Expert Comment

by:xersoft
ID: 17812847
0
 

Author Comment

by:thomp361
ID: 17812942
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
 
LVL 5

Expert Comment

by:xersoft
ID: 17818328
is there anything in here that will help you?

system.Text.UTF32Encoding
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 5

Expert Comment

by:xersoft
ID: 17818776
Sorry I don't believe this is what you want.
0
 

Author Comment

by:thomp361
ID: 17818789
nope, thanks for the comment though.
0
 
LVL 5

Accepted Solution

by:
xersoft earned 1000 total points
ID: 17818865
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
 

Author Comment

by:thomp361
ID: 18032457
I guess that example will have to work, thanks!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question