KLocale::formatNumber

Klaus Niederkrueger kniederk at math.uni-koeln.de
Wed Jun 15 00:17:25 BST 2005


Please review the code and tell me whether you think I can apply it to
kdecore or not? Other suggestions?

What does it do:

It basically adds a new "formatNumber"-method in klocale, which supports
arbitrarily large numbers (as QString) and one can switch off rounding.

What is it good for? In "kcalc" there was an implementation of such a
routine, but I thought let's make it available to everyone, and it is nice
to have a formatNumber that only rounds optionally.


Thanks

	Klaus
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: out.txt
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050615/23c2121c/attachment.txt>


More information about the kde-core-devel mailing list