monthsToYears
import { monthsToYears } from "https://esm.sh/v135/date-fns@3.6.0/index.d.mts";
@example
// Convert 36 months to years:
const result = monthsToYears(36)
//=> 3
// It uses floor rounding:
const result = monthsToYears(40)
//=> 3
function monthsToYears(months: number): number;