The point is that the QUESTIONS mean different things.
The OP was asking a simple decimal multiplication question, but seemed
to think that
bytes had to be counted in octal for some reason.
As Francois said - you can use any base you like (as long as you are
consistent).
By convention most of us usually like decimal for this type of
calculation, in which
The simple answer to the OP's question was "No, you do not need to
convert 36 to base 10
or the answer to base 8".
Pardon me if I misunderstood, but is sounded like the OP thought that
because a byte had
8 bits, it was counted in base 8 (and hence thought that 36 and the
final answer had to be
in base 8).

I agree that the more interesting point is what the purpose of the
calculation actually is.
I've never found a need for such a calculation on a PC (a Pocket PC, or
an embedded system
is a different matter!)

Ken 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Moz
Sent: 11 December 2005 19:07
To: Delphi-Talk Discussion List
Subject: Re: calculating memory


Francois PIETTE said:
> You can calculate in the numeration base you like most :-)

Yes, but the answers mean different things.

111 * 11 = 1221 (octal)
111 * 11 = 1221 (decimal) = 2305 (octal)
111 * 11 = 1221 (hex) = 4641 (decimal) = 11041 (octal)

And of course, in binary 111 * 11 = 10101 so even the answer is
different.

Moz

__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk

__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to