This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Re: update material display
On Tue, Oct 07, 2003 at 12:37:25PM -0400, Eric McDonald wrote:
> On Tue, 7 Oct 2003, Jim Kingdon wrote:
>
> > "K" should be "k" but other than that, I don't have much of an
> > opinion. Source: http://physics.nist.gov/cuu/Units/prefixes.html and
> > http://physics.nist.gov/cuu/Units/binary.html (Upper case "K" is
> > usually a synonym for what would be better abbreviated "Ki").
>
> Of course Peter is from .au, so he is not "bound" by a .us
> .gov entity such as NIST. But, what you refer to is essentially
> international convention. The binary units are less
> well-accepted; how many mebibytes of RAM do you see advertised?
>
> Eric
I'm into SI units as much as anyone. I had a funny idea K meant degrees
kelvin anyway. Its k,M,G for numbers greater than 9999. So the maximum
length is "-x.xxX" or 6 characters so overflow is generally impossible.
I will leave the number formatting in the patch I am developing then.
Cheers
Peter.