The Artima Developer Community
Sponsored Link

Java Answers Forum
Base Number Program

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Josh

Posts: 1
Nickname: jr5781
Registered: May, 2002

Base Number Program Posted: May 6, 2002 11:51 AM
Reply to this message Reply
Advertisement
Hi

i am trying to write a program that will take in 2 numbers and convert them to another base. The first number is nothing special just a regular number and the second number is the base the first number is in.
I have been trying to come up with a formula that would do the conversion but have had no luck.

In short it needs to be able to do a Conversion from any base to base 10 and vice versa...???

Does anyone have any ideas as to what kind of formula i should use. This has had me stumped to about 2 weeks now.

Thanks

Topic: ArrayList's Previous Topic   Next Topic Topic: I  Want To Call Java Frame From HTML

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use