Convert a base-10 number into a number of any other base

1

You have to take a base-10 number (e.g. 735) and another number for the base to convert to, and convert the base-10 number into the equivalent number in the other base.

Rules:

  • You aren't allowed to use any conversion functions built into your language

This is code-golf, the shortest answer in bytes wins!

ZacG

Posted 2016-03-25T13:35:40.240

Reputation: 11

Question was closed 2016-03-25T13:43:45.777

How do you propose dealing with bases above, say, 62? Do we just follow the ASCII chart for symbol progression? Could use some more clarification. – DoctorHeckle – 2016-03-25T13:42:08.193

The number will be the same, only expressed in another base. Can you give a few examples including output? – Luis Mendo – 2016-03-25T13:51:54.517

No answers