UNPKG

456 BTypeScriptView Raw
1/**
2 * @name yearsToQuarters
3 * @category Conversion Helpers
4 * @summary Convert years to quarters.
5 *
6 * @description
7 * Convert a number of years to a full number of quarters.
8 *
9 * @param years - The number of years to be converted
10 *
11 * @returns The number of years converted in quarters
12 *
13 * @example
14 * // Convert 2 years to quarters
15 * const result = yearsToQuarters(2)
16 * //=> 8
17 */
18export declare function yearsToQuarters(years: number): number;