Class BaseNumberUtils


  • public class BaseNumberUtils
    extends java.lang.Object

    Some utils for converting from and to any base

    • Constructor Summary

      Constructors 
      Constructor Description
      BaseNumberUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static double convertToDecimal​(java.lang.String value, int base, int maxNumberOfPlaces)  
      • Methods inherited from class java.lang.Object

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

      • BaseNumberUtils

        public BaseNumberUtils()
    • Method Detail

      • convertToDecimal

        public static double convertToDecimal​(java.lang.String value,
                                              int base,
                                              int maxNumberOfPlaces)
                                       throws java.lang.IllegalArgumentException
        Throws:
        java.lang.IllegalArgumentException