Search:

Type: Posts; User: CT&SC

Search: Search took 0.24 seconds.

  1. Thread: Base Conversion

    by CT&SC
    Replies
    7
    Views
    10,721

    Re: Base Conversion

    ^ Yeah that's pretty much what I said. Of course, if the exercise isn't understanding how to do it, the built-in function is to be preferred.
  2. Thread: Base Conversion

    by CT&SC
    Replies
    7
    Views
    10,721

    Re: Base Conversion

    Yeah, returning n % b is just going to give the remainder after division by b. Useful for converting bases, but not enough.

    Think about it like this. A way to get a number's base ten...
Results 1 to 2 of 2