number base conversion
|From:||Gary Shannon <fiziwig@...>|
|Date:||Sunday, January 11, 2004, 23:28|
--- Marty Rosenberg <vortexconcultures@...>
> Thank you all for the warm welcome. I have several
> things to say in response to everyone, though at the
> moment, I don't remember who said what, and I don't
> have time to check. Apologies in advance.
> First of all, I much appreciate all of the root
> generation systems. They seem very useful. I have
> one question about them though: How do you convert
> numbers between different bases quickly? I know a
> very long, complicated way to do it which I used for
> Deniedergy, but that's long and complicated. Plus,
> it only works for moving to smaller bases.
convert the number 76382 to base 26:
76382 / 26 = 2935 with 18 remainder
2935 / 26 = 112 with 23 remainder
112 / 26 = 4 with 8 remainder
4 / 26 is zero with 4 remainder
remainders are 18, 23, 8, 4
change those to letters: A=0, B=1, C=2, etc....
gives 18 = S, 23 = X, 8 = I, 4 = E
so base 26 is "SXIE"
> If I'm not mistaken, no other base
> can have any form of working decimal system.)
Decimal fractions can exist in any number base.
"A.BL" is zero plus 1/26 plus 11/676