]> source.dussan.org Git - poi.git/commitdiff
partial implementation FLOOR.MATH function (needs more testing and bad param support)
authorPJ Fanning <fanningpj@apache.org>
Mon, 23 May 2022 14:10:11 +0000 (14:10 +0000)
committerPJ Fanning <fanningpj@apache.org>
Mon, 23 May 2022 14:10:11 +0000 (14:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901175 13f79535-47bb-0310-9956-ffa450edef68

poi/src/test/java/org/apache/poi/ss/formula/functions/TestFloorMath.java

index 8973fe71461e45b60a43adc88750966dfa826fac..3b038625d9b38654a5c535e95829f8fdfc3d3850 100644 (file)
@@ -51,6 +51,7 @@ final class TestFloorMath {
             assertDouble(fe, cell, "FLOOR.MATH(-2.5,-2)", -4.0, 0.00000000000001);
             assertDouble(fe, cell, "FLOOR.MATH(-2.5,-2,-1)", -2.0, 0.00000000000001);
             assertDouble(fe, cell, "FLOOR.MATH(2.5,-2)", 2.0, 0.00000000000001);
+            assertDouble(fe, cell, "FLOOR.MATH(0.234,0.01)", 0.23, 0.00000000000001);
         }
     }