pub fn ear(
ear: f64,
compounding_periods_in_year: u32,
) -> FinanceResult<ConvertRateSolution>Expand description
Helper function to convert an effective annual rate (EAR) into all possible conversions (APR, EPR).
ยงErrors
Returns FinanceError if periods are zero, rate is non-finite, or ear <= -1.0.