Class PreciseFloatSupport


  • public class PreciseFloatSupport
    extends java.lang.Object
    default float/double encoding will keep 6 decimal places enable precise encoding will use JDK toString to be precise
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static boolean enabled  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void enable()  
      • Methods inherited from class java.lang.Object

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

      • enabled

        private static boolean enabled
    • Constructor Detail

      • PreciseFloatSupport

        public PreciseFloatSupport()
    • Method Detail

      • enable

        public static void enable()