Rocky_Mountain_Vending/.pnpm-store/v10/files/5d/2adfb0ccb0f1fe26211243810cfe557e63a2311724400c5424d0371c0ae18f0e6050afd5e816abd0917cd6adc9f96d8b55a0e79591c5fd97f71406f620d8f7
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

16 lines
No EOL
580 B
Text

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _default;
var _formatDecimal = require("./formatDecimal.js");
function _default(x, p) {
var d = (0, _formatDecimal.formatDecimalParts)(x, p);
if (!d) return x + "";
var coefficient = d[0],
exponent = d[1];
return exponent < 0 ? "0." + new Array(-exponent).join("0") + coefficient : coefficient.length > exponent + 1 ? coefficient.slice(0, exponent + 1) + "." + coefficient.slice(exponent + 1) : coefficient + new Array(exponent - coefficient.length + 2).join("0");
}