1.0.0 • Published 2 years ago
@brainylab/numbers-utils v1.0.0
Class Name Validate and Convert
Package with utilities for the convert number to price format
Installation
Use the npm to install
npm install @brainylab/numbers-utils
Or use the yarn to install
yarn add @brainylab/numbers-utils
Usage
import { priceFormat } from '@brainylab/numbers-utils';
const number = 500;
const priceConverted = priceFormat(number)
console.log(priceConverted)
// return string 'R$ 500,00'
License
1.0.0
2 years ago