pub fn saturated_rate_proration<Rate: FixedPointNumberExtension>(
    annual_rate: Rate,
    period: Seconds
) -> Rate
Expand description

Converts an annual rate into its proratio based on the given period duration.