1.0.1 • Published 3 years ago
@akibrk/currency v1.0.1
Currency
Utility functions for dealing with currency formatting.
Release Notes
Usage
import { Currency } from '../index';
const amount = '23.2333';
console.log(Currency.stringToCents(amount));
console.log(Currency.normalize(amount));
console.log(Currency.formatWithSymbol(amount, 'USD'));