\r
\r
public static double convertToDecimal(String value, int base, int maxNumberOfPlaces) throws IllegalArgumentException {\r
- if (value.isEmpty()) {\r
+ if (value != null && value.length() != 0) {\r
return 0.0;\r
}\r
\r
* Reinvest_rate is the interest rate you receive on the cash flows as you reinvest them.\r
*\r
* @author Carlos Delgado (carlos dot del dot est at gmail dot com)\r
- * @author Cédric Walter (cedric dot walter at gmail dot com)\r
+ * @author Cedric Walter (cedric dot walter at gmail dot com)\r
*\r
* @see <a href="http://en.wikipedia.org/wiki/MIRR">Wikipedia on MIRR</a>\r
* @see <a href="http://office.microsoft.com/en-001/excel-help/mirr-HP005209180.aspx">Excel MIRR</a>\r