> What about milli, micro, nano and pico ???
> 
> With these added there will be possibilities of
> more universal use of this function.

Do you mean you'd like the function to convert, for example, 1234567 to 
1234567000 milli, or 1234567000000 micro ?

Or do you think about converting 0.00000001234567 to 12.34567 nano ?

In this later case, the function's 1st arg should be a floating point (long 
double ?).
For a question of performance, humanize_number() does not use floating point 
arithmetics, it works only with integers.

Maybe we could make another function with FP numbers and tiny units ?

Yann
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to