amount 2.0.0 copy "amount: ^2.0.0" to clipboard
amount: ^2.0.0 copied to clipboard

Amount helps to convert numerical amount to words.

amount #

Platform Pub Package License: MIT Donate Issue Forks Stars

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
1
likes
120
pub points
23%
popularity

Publisher

verified publisherjustkawal.dev

Amount helps to convert numerical amount to words.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on amount