Class Formatter


  • public final class Formatter
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Formatter()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String format​(double d)  
      static java.lang.String format​(double d, double delta)  
      static float trim​(double a, int itr)  
      • Methods inherited from class java.lang.Object

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

      • Formatter

        private Formatter()
    • Method Detail

      • trim

        public static float trim​(double a,
                                 int itr)
      • format

        public static java.lang.String format​(double d)
      • format

        public static java.lang.String format​(double d,
                                              double delta)