TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
aaniculaesei
NA
47
0
converting from any base(16, 8, 2) to base 10 in C#
Apr 29 2005 10:54 AM
Hi there, Could anyone help me with the following problem ? Suppose I have a textBox in which there can be introduced any string representing a number in one of the following bases: 16, 8, 2 Suppose again that I have more radio buttons : hex, dec, oct, bin. When one of them is checked the number written in the textBox would be converted to the proper base (hex - to hexadecimals, etc.) I want to convert the number in the textBox to base 10 (of course the modified number will be displayed in the textBox). The function that performs the conversion to base 10 doen't know the initial number's base ! How can I do this ? Please help me ! Please answer by tomorrow ! I've searched the net and found nothing appropiate ! :( I'm in desperate need of help !:( Thankx . Cheers, Adisor P.S. To those who celebrate Easter I wish them : Happy Easter !!! :)
Reply
Answers (
1
)
Query in Interface
Winform in dll library