Rocky_Mountain_Vending/.pnpm-store/v10/files/18/3d91d575f333fe01e9078ac0c4a10fa94dfb52100f299ab01d18a9ef8fdb545a401bb2b56806877185f501d1ba3e0f24d027f880fbaa29b906d44b884c17ed
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
568 B
Text

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