Function finance_math::pi [] [src]

pub fn pi(rate: f64, cfs: &[f64]) -> f64

Profitability index (PI), also known as profit investment ratio (PIR) and value investment ratio (VIR), is the ratio of payoff to investment of a proposed project. It is a useful tool for ranking projects because it allows you to quantify the amount of value created per unit of investment. see definition: https://en.wikipedia.org/wiki/Profitability_index