I would like to ask if someone of you knows how to achieve this:
Let's say I have a float like 0.56 but with the base N and I want to convert it into a float with a base T, how can I achieve it? Is there a formula or something?
For example, if I have to convert 0.56 from base 8 to base 16, I know it is 0.B8 (I do it by hand converting 0.56 (base 8) to base 2 -> 0.101110 and then I group the bits by 4 starting from the float point, so 1011 & 10 (1000) is B and 8, thus B8).
But what if I want e.g. from base 8 convert to base 6 in a programmatic way? Do not need code, just need to understand how this is achieved in a an automatic way.
Thanks for the attention!