Function cfg_types::pools::saturated_rate_proration
source · 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.