dart-decimal icon indicating copy to clipboard operation
dart-decimal copied to clipboard

Removal of isNegative broke NumberFormat

Open mwawrusch opened this issue 3 years ago • 1 comments

Using a NumberFormat to format a decimal stopped working after version 1.5 because isNegative got removed. Now it needs to be converted to a double before formatting. Not a biggie per se, but something that could warrant mentioning in the docs.

mwawrusch avatar Jul 28 '22 16:07 mwawrusch

There is a test that succeeds for NumberFormat.

Can you provide the decimal number that failed?

a14n avatar Jul 29 '22 09:07 a14n