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

updated 2012-12-28 18:04:28 -0600

DSM gravatar image

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.