burmese_number 0.0.2 copy "burmese_number: ^0.0.2" to clipboard
burmese_number: ^0.0.2 copied to clipboard

Burmese Number

Burmese Number #

Burmese Number is a Dart utility for converting numbers to Burmese text representations.

Usage #

Static Function Call #

const result = BurmeseNumHelper.convertToLongNumber(number: "5980000.55", numberFormat: NumberFormat.plainText);
//ငါးဆယ့်ကိုးသိန်းရှစ်သောင်းဒဿမငါးငါး

const result = BurmeseNumHelper.convertToLongNumber(number: "5980000.55", numberFormat: NumberFormat.numberInText);
//၅ဆယ့်၉သိန်း၈သောင်းဒဿမ၅၅

const result =  BurmeseNumHelper.convertToSimpleNumber(number:  numberController.text);
//၅၉၈၀၀၀၀.၅၅

Extension Function Call #

const result = "5980000.55".convertToLongNumber(numberFormat: NumberFormat.plainText);
//ငါးဆယ့်ကိုးသိန်းရှစ်သောင်းဒဿမငါးငါး

const result = "5980000.55".convertToLongNumber(numberFormat: NumberFormat.numberInText);
//၅ဆယ့်၉သိန်း၈သောင်းဒဿမ၅၅

const result = "5980000.55".convertToSimpleNumber();
//၅၉၈၀၀၀၀.၅၅
4
likes
110
points
28
downloads

Publisher

unverified uploader

Weekly Downloads

Burmese Number

Documentation

API reference

License

unknown (license)

Dependencies

flutter

More

Packages that depend on burmese_number