react-native-currency-format

    1.0.19 • Public • Published

    react-native-currency-format

    Getting started

    $ yarn add react-native-currency-format

    iOS Only

    $ cd ios && pod install

    Usage

    import CurrencyFormatter from "react-native-currency-format";
     
    const price = 1234.56;
    const currency = "EUR";
    const formattedPrice = await CurrencyFormatter.format(price, currency);
    console.log(formattedPrice); // "1.234,56 €"

    Keywords

    Install

    npm i react-native-currency-format

    DownloadsWeekly Downloads

    130

    Version

    1.0.19

    License

    MIT

    Unpacked Size

    28.7 kB

    Total Files

    16

    Last publish

    Collaborators

    • emilioicai