amount
amount is a dart library to convert numerical amount to words.
Table of Contents
Lets Get Started
Usage
Imports
import 'package:amount/amount.dart';
Convert Amount to word
var val1 = 1000;
String result1 = Amount.word(val1);
print('$val1 -> $result1');
var val2 = 26042021;
String result2 = Amount.word(val2);
print('$val2 -> $result2');
// 1000 -> one thousand
// 26042021 -> two crore sixty lakh forty two thousand and twenty one
Features coming in next version
On-going implementation for future:
- support for numbers of length >= 10