Returns the internal rate of return as a percentage.
| Category: | Financial |
| Returned data type: | DOUBLE |
is numeric, the number of payments over a specified base period of time that is associated with the desired internal rate of return.
| Range | freq > 0. |
| Data type | DOUBLE |
| Tip | The case freq = 0 is a flag to allow continuous compounding. |
are numeric, the optional cash payments.
| Requirement | At minimum, two cash payment values are required. |
| Data type | DOUBLE |
select irr(1,-400,100,200,300);