RE: [PHP] Convert KB to MB?
| From: | Ford, Mike [LSS] | Date: | Mon, 23 Jun 2003 12:44:10 +0000 |
| Subject: | RE: [PHP] Convert KB to MB? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-152488@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Sævar Öfjörð [mailto:ofjord@simnet.is]
> Sent: 22 June 2003 01:27
>
> Actually, if we want too go into details, according to the
> international
> standard for units, there is a big difference in 'M' and 'm'.
> 'M' means
> Mega and 'm' means milli. You are probably aware of that Mega is 10 in
> the power of 3 but milli is 10 in the power of -3. The difference is,
> like, a million.
Well, if we're going to get *really* picky, lower-case b is the SI abbreviation for bar, the
unit of pressure -- so I'm afraid I read Mb as Megabar (and wince at the thought!), and mb as
millibar. As there's no international standard abbreviations for bit and byte, they really
should be written out in full (Mbyte, Gbit, etc.), although I can appreciate the desire to use as
few keystrokes as possible! Since, as far as I'm aware, B has no SI meaning, I can just about
cope with kB, MB for kilobytes, Megabytes, and so on -- but mb will always be millibar to me (and
raise a wry smile whenever I see it in memory-size contexts!).
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211