Class Metric


  • public class Metric
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static double ATTO  
      static double CENTI  
      static double DECA  
      static double DECI  
      static double EXA  
      static double FEMTO  
      static double GIGA  
      static double HECTO  
      static double KILO  
      static double MEGA  
      static double MICRO  
      static double MILLI  
      static double NANO  
      static double PETA  
      static double PICO  
      static double TERA  
      static double YOCTO  
      static double YOTTA  
      static double ZEPTO  
      static double ZETTA  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static MetricPrefix prefix​(double n)  
      static MetricPrefix prefix​(double n, int baseMultiplier)
      Calculate the metric prefix for a number.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait