A89: Re: Displaying numbers


[Prev][Next][Index][Thread]

A89: Re: Displaying numbers




> * The last one is to write your own routine for plotting a hex number as a
> decimal. The easiest (but not fastest) way is to repeatedly divide by 10
and
> write the remainder to a string until the division becomes zero.

Not the fastest?  I haven't seen any other algorithms, so would you care to
enlighten me as to how else this can be done?

    -Scott




Follow-Ups: References: