From fab024376f5a9db0f1a33bf5c554d5893e2c7a78 Mon Sep 17 00:00:00 2001 From: Mark Rogoyski Date: Tue, 24 Jan 2017 05:37:30 +0000 Subject: [PATCH] Update README. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e6dbe74dc..0ef50fd8c 100644 --- a/README.md +++ b/README.md @@ -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