org.apache.poi.ss.formula.functions
Class BaseNumberUtils

java.lang.Object
  extended by org.apache.poi.ss.formula.functions.BaseNumberUtils

public class BaseNumberUtils
extends java.lang.Object

Some utils for converting from and to any base


Constructor Summary
BaseNumberUtils()
           
 
Method Summary
static double convertToDecimal(java.lang.String value, int base, int maxNumberOfPlaces)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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