Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to output 'decimal' numbers in different radix.

For example, how to output the fraction 13/7 as a 'decimal' number in the base 6? Perhaps to 4 'digits' after the 'decimal' point if the representation is not finite.

click to hide/show revision 2
retag

How to output 'decimal' numbers in different radix.

For example, how to output the fraction 13/7 as a 'decimal' number in the base 6? Perhaps to 4 'digits' after the 'decimal' point if the representation is not finite.