]> 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 13:53:56 +0000 (13:53 +0000)
committerPJ Fanning <fanningpj@apache.org>
Mon, 23 May 2022 13:53:56 +0000 (13:53 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901172 13f79535-47bb-0310-9956-ffa450edef68

poi/src/main/java/org/apache/poi/ss/formula/functions/MathX.java

index 3efa5bc335b3def03f366a218f4daea28f7d9474..2a425879875cabe38e4687292b63925e56f26bb2 100644 (file)
@@ -18,6 +18,7 @@
 package org.apache.poi.ss.formula.functions;
 
 import org.apache.poi.ss.util.NumberToTextConverter;
+import org.apache.poi.util.Internal;
 
 import java.math.BigDecimal;
 import java.math.RoundingMode;
@@ -273,6 +274,7 @@ final class MathX {
         }
     }
 
+    @Internal
     public static double scaledRoundUsingBigDecimal(double xval, double multiplier, RoundingMode mode) {
         BigDecimal multiplierDecimal = BigDecimal.valueOf(multiplier);
         BigDecimal bd = BigDecimal.valueOf(xval).divide(multiplierDecimal)