Rocky_Mountain_Vending/.pnpm-store/v10/files/06/26634d822943958302a1b7204d268bce6b0194701ca99f9451dc0ed395d4cae983cd38d12f95d7038cff8a8b936deb92c618248b1cbf190dcc4f26b7b891b0
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

11 lines
284 B
Text

"use strict";
exports.getRoundingMethod = getRoundingMethod;
function getRoundingMethod(method) {
return (number) => {
const round = method ? Math[method] : Math.trunc;
const result = round(number);
// Prevent negative zero
return result === 0 ? 0 : result;
};
}