![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
react-native-android-currency-formatter
Advanced tools
React Native Android Currency Formatter. Native Module for a currency format with specified FORMAT locale.
Native Module for a currency format with specified FORMAT locale.
npm install --save react-native-android-currency-formatter
yarn add react-native-android-currency-formatter --save
Read before use Synchronous Method
import AndroidCurrencyFormatter from 'react-native-android-currency-formatter';
// Synchronous Method
AndroidCurrencyFormatter.numberFormat(30000, 'USD', 'en', 'US'); // $30,000.00
// Asynchronous Method
AndroidCurrencyFormatter
.numberFormatAsync(1000000.25, 'USD', 'en', 'US')
.then(data => {
// $1,000,000.25
});
// Synchronous Method
// Returns currency format or 'N/A' if one of the arguments are not correct
numberFormat(amount, currencyCode, language, country)
// Asynchronous Method
// Returns Promise with currency format or 'N/A' if one of the arguments are not correct
numberFormatAsync(amount, currencyCode, language, country)
Type: Number
the number which will be converted to currency
Type: String
ISO 4217 currency code. Some codes
Type: String
An ISO 639 alpha-2 or alpha-3 language code, or a language subtag up to 8 characters in length.
Type: String
An ISO 3166 alpha-2 country code or a UN M.49 numeric-3 area code.
Check example/src/App.tsx file if you need more details.
Any contributions you make are greatly appreciated.
Please read the Contributions Guidelines to learn how to contribute to the repository and the development workflow.
MIT © Vasyl Stokolosa
FAQs
React Native Android Currency Formatter. Native Module for a currency format with specified FORMAT locale.
We found that react-native-android-currency-formatter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.