# convert fractions from one base to another using repeated multiplications

I have to convert a number that looks like this 254.3212 base 6 to base 3. Now I can manage the decimal part (254) but I'm having trouble with the fraction (3212). How do I convert the fractional part ?

I have been trying this but it's not working out. I tried to multiply 3212 by 3 while calculating in base 6 but I think I am doing it wrong, so a very detailed (base oriented) explication would be much appreciated.

Here is what I'm unsure of: when I do this: 0.3212*3; 3*2 = 6 / 6 (divide by source base) = 1 r 0 ... then I keep the 0 and remember the 1 or am I doing it wrong ? then if I remember the 1 ... next step would be 3*1+1 / 6 = 4 / 6 = 0 r 4 remember the 0 keep the 4 so on and so forth. But somehow the result is nothing like Wolfram Alpha. I'm stumped.

ANOTHER EXAMPLE (EDIT):

Pi in base 10 is 3.1416... now to convert this to base let's say 26: 3 remains 3 that's easy, but the fractional part: 1416 × 26 = 3.6816 .6816 × 26 = 17.7216 .7216 × 26 = 18.7616 etc...

The number ends up being: 3.31718 ... BUT if we weren't starting from base 10 ... then the calculations (.6816 wouldn't be in base 10 either ... so they would look different, but different how ?)

END EXAMPLE (EDIT)

Please no examples with base 10 because I am very unsure how this works and base 10 will confuse more than help.

EDIT: If it works differently in any way when converting from smaller to bigger base (3 to 6) I would appreciate an example at least, thank you.

Also because of my bad English I may have used decimal in a wrong way ... By decimal I think I meant "not fractional". If some one could help me with the right word I'll edit it.

-
If you can do it for the "decimal" part, why don't you just convert your number into a purely decimal part, apply what you did and then convert it back? – Raskolnikov Dec 28 '11 at 13:18
I mentioned: "Here is what I'm unsure". It simply doesn't work for some reason and I don't get why. I'm not doing this at a mathematics course so the teacher just breezed trough these like they were nothing ... and I got nothing. – Kalec Dec 28 '11 at 13:33

No it's right. After that $3*1+1=4$ (in base 6) and so on :
$0.3212*3 = 1.4040$
$0.404*3 = 2.020$