lkml.org 
[lkml]   [2006]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Inserting Commas into Those Big Numbers
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-20 03:06    [W:0.114 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site