Skip to content

Instantly share code, notes, and snippets.

@coolya
Created June 19, 2012 08:36
Show Gist options
  • Save coolya/2953039 to your computer and use it in GitHub Desktop.
Save coolya/2953039 to your computer and use it in GitHub Desktop.
Convert number to a higher base
x= 2547, y = 8, x * 10 ^ ((y - 1) - (int(log10(x)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment