On Dec 1, 2007 9:49 AM, Nelson Serafica <[EMAIL PROTECTED]> wrote:
>
> I search in Google and it says the "%" is remainder of a division. But when
> I do expr 5 % 3, it shows "2". It suppose to be 6, am I right?

No, you're not: '%' is modulo (remainder of integer division). And to
convert a byte to kilobyte, divide by 1024. (At least that was what we
were taught waaay back when I was in school.)

-- 
Ian Dexter R. Marquez
http://feeds.iandexter.net/Coredump
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to