irr
| Explanation | The internal rate of return is calculated from the cash flow generated by the investment. Added from Mobile Ver.2.0.0 | |
| Call format | var i = irr (estimated rate of return, cash flow range ) | |
| Return value | Returns the internal rate of return from the cash flow generated by the investment. In addition, the approximate calculation is repeated based on the estimated profit margin, but if the error does not become less than 0.0000001 even after repeating the approximate calculation 32 times, an error value is returned. In this case, you need to reset the estimated profit margin. | |
| Arguments | Number estimated profit margin | Estimated profit margin |
| Number cash flow range | Specifies an arrayed object with cash flow data. (The initial investment amount is specified as negative.) | |
| Exception | None | |
| Example of use | ||
| Related item | ||