]> git.ipfire.org Git - thirdparty/babel.git/commit
numbers: New parameter to override precision
authorIsaac Jurado <diptongo@gmail.com>
Mon, 17 Nov 2014 17:42:33 +0000 (18:42 +0100)
committerIsaac Jurado <diptongo@gmail.com>
Sun, 27 Sep 2015 09:32:32 +0000 (11:32 +0200)
commitf7673904a17cbbd4a661a00642602d6b5bb597a7
tree4167947330de2434c3fa93090322dbcb53e4180a
parenta7e80a22c77371069e3d06b70520d9576e69db3d
numbers: New parameter to override precision

The NumberFormat class uses the amount of decimal digits specified by
the given format.  We want to be able to ignore the amount of decimal
digits under some special circumstances.

Care must be taken since the NumberFormat instances seem to be cached.
babel/numbers.py