Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

effective_annual_rate

Calculates effective annual rate from nominal rate.

Formula: (1 + r/n)^n - 1

Fully qualified path: cairo_fp::f64::math::interest::effective_annual_rate

fn effective_annual_rate(nominal_rate: Fixed, compounds_per_year: Fixed) -> Fixed