Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 310 Bytes

currencyToNumber.md

File metadata and controls

19 lines (11 loc) · 310 Bytes

currencyToNumber

Parse brazilian currency string to number format.

Arguments

  • currency: string: currency value to be format

Returns

  • value: number: A number

Usage

import { currencyToNumber } from '@platformbuilders/helpers';

currencyToNumber('R$ 1000,00'); // return 1000