Rocky_Mountain_Vending/.pnpm-store/v10/files/c4/7699272a57294bfd0c02fb4a40fb37846ad52ae2838686ec8ec1f77e174cefac3b40ba1cec0fc85f8028398254b39dd958cf01c94389371953edc0c3ce086c
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

24 lines
579 B
Text

"use strict";
exports.yearsToQuarters = yearsToQuarters;
var _index = require("./constants.cjs");
/**
* @name yearsToQuarters
* @category Conversion Helpers
* @summary Convert years to quarters.
*
* @description
* Convert a number of years to a full number of quarters.
*
* @param years - The number of years to be converted
*
* @returns The number of years converted in quarters
*
* @example
* // Convert 2 years to quarters
* const result = yearsToQuarters(2)
* //=> 8
*/
function yearsToQuarters(years) {
return Math.trunc(years * _index.quartersInYear);
}