suzuki86 / CompoundInterest

Calculate compound interest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CompoundInterest

Utility class for calculating compound interest written in PHP.

Build Status

Usage

Namespace

Use CompoundInterest\CompoundInterest namespace.

use CompoundInterest\CompoundInterest;

CompoundInterest::calculate()

Calculate compound interest.

echo CompoundInterest::calculate(10000, 2, 5, 100); // 11230 will be printed.

About

Calculate compound interest


Languages

Language:PHP 100.0%