Skip to content

Commit

Permalink
Update README.
Browse files Browse the repository at this point in the history
  • Loading branch information
markrogoyski committed Jan 24, 2017
1 parent 9198208 commit fab0243
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ $reinvestment_rate = 0.10; // reinvested at 10%
$mirr = Finance:mirr($values, $finance_rate); // rate of return of an initial investment of $100 at 5% financing with returns of $50, $40, and $30 reinvested at 10%

// Payback of an investment
$values = [-1000, 100, 200, 300, 400, 500]; // The payback period of an investment with a $1,000 investment and future returns of $100, $200, $300, $400, $500
$payback = Finance::payback($values);
$values = [-1000, 100, 200, 300, 400, 500];
$payback = Finance::payback($values); // The payback period of an investment with a $1,000 investment and future returns of $100, $200, $300, $400, $500
```

### Functions - Map - Single Array
Expand Down

0 comments on commit fab0243

Please sign in to comment.