Re: Inserting Commas into Those Big Numbers

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

 



On Wed, 18 Jan 2006, Jeff V. Merkey wrote:

> If anyone cares to make the kernel output more readable, heres a code snippet
> that formats any text string with numbers (decimal) to
> insert commas.  I am too old and going blind looking at computer screen with
> these long numbers.  If useful to anyone, enjoy.

you know i wish C99 had mandated support for numbers like 1_000_000 or 
0x0123_4567_89ab_cdef.  (not sure if Ada originated this style, but that's 
where i first saw it.)

-dean
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux