Top Description Constructors Methods
org.apache.poi.ss.formula.functions

public Class BaseNumberUtils

extends Object
Class Inheritance

Some utils for converting from and to any base

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static double
convertToDecimal(String value, int base, int maxNumberOfPlaces)

private static double
getTwoComplement(double base, double maxNumberOfPlaces, double decimalValue)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

BaseNumberUtilsback to summary
public BaseNumberUtils()

Method Detail

convertToDecimalback to summary
public static double convertToDecimal(String value, int base, int maxNumberOfPlaces) throws IllegalArgumentException
getTwoComplementback to summary
private static double getTwoComplement(double base, double maxNumberOfPlaces, double decimalValue)