pmt

Function pmt 

Source
pub fn pmt(
    rate: f64,
    periods: f64,
    amount: f64,
    fv: f64,
    begin: f64,
) -> Result<f64>
Expand description

Computes the payment for a loan or annuity.

begin must be 0 (end of period) or 1 (begin of period).