[Mono-devel-list] [PATCH] DecimalFormatters
dave-monolist at earth.li
Fri Apr 16 05:24:13 EDT 2004
Attached are two patches to corlib/System/DecimalFormatter.
One of them removes spurious decimal points at the end of numbers, for
example ((decimal)1).ToString("P0") was returning "100. %".
The other patch changes the representation of small numbers, to match
that of the test cases/MS.NET. I have used the #if NET_1_0 as that is
what is in the test case, rather than due to any knowledge of my own.
These two fixes fix another of the test cases in corlib.
Please let me know if there is any problem with committing them.
"For goodness sake, you could invoke a human being at this point..."
-- Geraint Jones, lecturing Operating Systems.
More information about the Mono-devel-list