Bug 55742: fixed hex2dec tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1539447 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Cédric Walter 2013-11-06 20:04:22 +00:00
parent fb811535be
commit 28b14db09a

View File

@ -25,7 +25,7 @@ public class BaseNumberUtils {
public static double convertToDecimal(String value, int base, int maxNumberOfPlaces) throws IllegalArgumentException {
if (value != null && value.length() != 0) {
if (value != null && value.length() == 0) {
return 0.0;
}