Log in

View Full Version : Converting from base 12 to base 10


peerless55
Feb 1, 2010, 06:47 PM
What is the process of converting (A74)base12 to base 10

KISS
Feb 1, 2010, 07:03 PM
Someone deleted the wrong thread, so I have to try again.

4 * 12^0 + 7 * 12^1 + 11*12^2

A is defined as 11.

This assumes that the right most digit is the least significant.

INCORRECT as ebanes states: A=10

ebaines
Feb 2, 2010, 08:13 AM
Actually, the 'A' in base 12 is equivalent to 10 in base 10 ('B' would be 11). So you get:

10 * 12^2 + 7 * 12^1 + 4*12^0

KISS
Feb 2, 2010, 10:18 AM
Thanks, noted.

Then there is this thing about big endian and little endien.