Documentation of 'jas2.hist.JASHistUtil' Java class
JASHistUtil
jas2.hist

Class JASHistUtil



  • public class JASHistUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      JASHistUtil() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static double roundDown(double x, int order)
      Round number down (closer to Negative Infinity): "order" defines which significant digit is rounded, order >= 0 roundDown(234.5, 0) -> 200.0 roundDown(234.5, 1) -> 230.0 roundDown(234.5, 2) -> 234.0
      static double roundUp(double x, int order)
      Round number up (closer to Positive Infinity), "order" defines which significant digit is rounded, order >= 0 roundUp(234.5, 0) -> 300.0 roundUp(234.5, 1) -> 240.0 roundUp(234.5, 2) -> 235.0
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JASHistUtil

        public JASHistUtil()
    • Method Detail

      • roundDown

        public static double roundDown(double x,
                                       int order)
        Round number down (closer to Negative Infinity): "order" defines which significant digit is rounded, order >= 0 roundDown(234.5, 0) -> 200.0 roundDown(234.5, 1) -> 230.0 roundDown(234.5, 2) -> 234.0
      • roundUp

        public static double roundUp(double x,
                                     int order)
        Round number up (closer to Positive Infinity), "order" defines which significant digit is rounded, order >= 0 roundUp(234.5, 0) -> 300.0 roundUp(234.5, 1) -> 240.0 roundUp(234.5, 2) -> 235.0

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.