From c45d665702e731007311def03c90b1756118ed7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Sim=C3=B5es?= Date: Tue, 22 Jun 2021 22:29:04 +0100 Subject: [PATCH] Add new Unit Test - To validate reported issue with a congenere platform. ***NO_CI*** --- Tests/NFUnitTestArithmetic/UnitTestFormat.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Tests/NFUnitTestArithmetic/UnitTestFormat.cs b/Tests/NFUnitTestArithmetic/UnitTestFormat.cs index 51c1127e..130cc3a0 100644 --- a/Tests/NFUnitTestArithmetic/UnitTestFormat.cs +++ b/Tests/NFUnitTestArithmetic/UnitTestFormat.cs @@ -164,6 +164,7 @@ public void NumberFormat() TestFormat("-1234.567", "N2", "-1,234.57"); TestFormat("123456.78", "N2", "123,456.78"); TestFormat("1234567.1210", "N2", "1,234,567.12"); + TestFormat("-0.099999999999999978", "N2", "-0.10"); sampleDisplay.WriteOutput(); }