fixed red build, cause by invalid java 5 method isEmpty and unmappable character for encoding ASCII
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1539127 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d8c54be1aa
commit
fac5f0ea50
@ -25,7 +25,7 @@ public class BaseNumberUtils {
|
||||
|
||||
|
||||
public static double convertToDecimal(String value, int base, int maxNumberOfPlaces) throws IllegalArgumentException {
|
||||
if (value.isEmpty()) {
|
||||
if (value != null && value.length() != 0) {
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
|
@ -37,7 +37,7 @@ import org.apache.poi.ss.formula.eval.EvaluationException;
|
||||
* Reinvest_rate is the interest rate you receive on the cash flows as you reinvest them.
|
||||
*
|
||||
* @author Carlos Delgado (carlos dot del dot est at gmail dot com)
|
||||
* @author Cédric Walter (cedric dot walter at gmail dot com)
|
||||
* @author Cedric Walter (cedric dot walter at gmail dot com)
|
||||
*
|
||||
* @see <a href="http://en.wikipedia.org/wiki/MIRR">Wikipedia on MIRR</a>
|
||||
* @see <a href="http://office.microsoft.com/en-001/excel-help/mirr-HP005209180.aspx">Excel MIRR</a>
|
||||
|
Loading…
Reference in New Issue
Block a user