utils/numbers library

Functions

doubleAsCurrency(double? value, [String? languageCode]) String
Convert double to currency text formatted with decimals
doubleToString(double value, [String? languageCode]) String
Convert double to string respecting decimal symbol by Locale
platformLocale(BuildContext context) Locale
Get default locale from BuildContext
stringToDouble(String? text, [String? languageCode]) double?
If possible convert text value to double number