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

Re: converting numbers



Thanks for the correction:
 0x is hex, 0 is octal.
> 
> OK, hex numbers are radix 16, octal radix 8, decimal radix 1.

No, decimal is radix 10 (base 10). Binary is base 2.

> I guess I'll have to determine when to use each based on context.

In written language the base is used as a subsript to the number, so that
you know what number system you work in.
 
> Thanks!  Now, where is that coffee? :-)

Mmmmm....coffee.

____________________________________________________________________
Never include a comment that will help | Andrew Ivanov
someone else understand your code.     | c680789@showme.missouri.edu
If they understand it, they don't      | ICQ: 12402354
need you.                              |


Reply to: