Search:

Type: Posts; User: Sean4u

Search: Search took 0.10 seconds.

  1. Replies
    3
    Views
    1,769

    Re: Base Changing - Is there an easier method?

    'toBaseSixteen' has a trivial solution because you're not converting 'a decimal number', but an integer that's represented by binary bits. Base 2 to Base 2^N can be done by taking the N least...
  2. Replies
    3
    Views
    1,769

    Re: Base Changing - Is there an easier method?

    Have you seen the methods in java.lang.Integer that do this? Integer.parseInt(String, int) and Integer.toString(int, int)
Results 1 to 2 of 2