have a question about formatting the Rupee currency (Indian Rupee - INR).
For example, numbers here are represented as:
1
10
100
1,000
10,000
1,00,000
10,00,000
1,00,00,000
10,00,00,000
But not able to find any reference library where I can separate comma number in Indian formate.
MoneyFormatter is a Flutter package to formatting various types of currencies according to the characteristics you like, without having to be tied to any localization.
Create a NumberFormat that formats using the locale's CURRENCY_PATTERN. If locale is not specified, it will use the current default locale. If name is specified, the currency with that ISO 4217 name will be used. Otherwise we will use the default currency name for the current locale.
Text('\u{20B9}${your amount}'), This is to get Indian currency symbol rupee in your flutter app.
You can use Intl package as follow:
var format = NumberFormat.currency(locale: 'HI');
print(format.format(100000000));//10,00,00,000.00
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With