UNPKG

@euk-labs/beltz

Version:

![npm](https://img.shields.io/npm/v/@euk-labs/beltz) ![NPM](https://img.shields.io/npm/l/@euk-labs/beltz) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/Eureka-Shoulders/beltz/CI) ![npm](https://img.shields.io/npm/dw/@euk-labs/bel

11 lines 361 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.formatToCurrency = void 0; function formatToCurrency(value = 0, currency = 'BRL') { return new Intl.NumberFormat('en-US', { style: 'currency', currency, }).format(value); } exports.formatToCurrency = formatToCurrency; //# sourceMappingURL=number.js.map