Skip to main content

years_basis_points

Function years_basis_points 

pub fn years_basis_points(years: f64) -> u32
Expand description

A year fraction as basis points of a year — the exactly comparable form a risk key carries. Grid pillars are small positive year counts, so the product is a modest positive integer and the cast can neither truncate nor lose a sign.