Class NumberUtils

java.lang.Object
org.openl.util.NumberUtils

public class NumberUtils extends Object
Author:
Andrei Astrouski
  • Field Details

    • FLOAT_MIN_VALUE

      public static final double FLOAT_MIN_VALUE
      Minimal negative float value.
      See Also:
    • DOUBLE_MIN_VALUE

      public static final double DOUBLE_MIN_VALUE
      Minimal negative double value.
      See Also:
  • Method Details

    • intOrDouble

      public static Object intOrDouble(double value)
    • getMinValue

      public static Number getMinValue(Class<?> numberClass)
    • getMaxValue

      public static Number getMaxValue(Class<?> numberClass)