=== EMI Calculator ===
Contributors: rioemicalculator
Tags: emi, EMI Calculator, loan calculator
Requires at least: 4.7
Tested up to: 7.1
Stable tag: 1.4.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A simple to use EMI Calculator widget that can be added via a shortcode in post content or page.

== Description ==

A simple to use EMI Calculator widget that can be added via a shortcode [rio-emi-calculator] in post content or page.

= Features =

* Easy to install and use.
* Lightweight and user friendly plugin.
* Customizable design.

== Screenshots ==

1. EMI Calculator Widget.
2. Plugin Backend Settings.


== Frequently Asked Questions ==

= How to Install the plugin? =

1.Activate Rio EMI Calculator from Plugins Menu.
2.Check Enable the Plugin from options page.
3.Use shortcode [rio-emi-calculator] in page/post to display the widget.

= How is EMI calculated? =

An Equated Monthly Instalment (EMI) is usually a fixed amount of money that you need to pay your bank or lender every month as repayment of a loan taken, until your loan is totally repaid.

The formula to calculate an EMI:

EMI = [P x R x (1+R)^N]/[(1+R)^N-1]

P =loan amount or Principal

R = Interest rate per month
[To calculate rate per month: if the interest rate per annum is 14%, the per month rate would be 14/(12 x 100)]

N = the number of installments

== External services ==

The calculator title links to https://www.calculator.io/emi-calculator/ (or its translation for the site language); nothing is sent unless a visitor follows the link.

== Changelog ==

= 1.4.2 =
* Security: escape all output, whitelist the currency and display settings on save, check capability on the settings page.
* Fix: the shortcode now returns its markup instead of printing it, so it appears where it is placed in the content.
* The principal/interest pie chart is drawn by the plugin itself (SVG); Google Charts is no longer loaded from gstatic.com.
* Removed a stray debug dump from the settings page; prefixed all function names; enqueue scripts and styles with versions and dependencies; no request for the missing icon font stylesheet.
