num/num_locale_utils library

Functions

formatNumberLocale(num value, {int decimalPlaces = 0, String groupSep = ','}) → String
Formats number with decimalPlaces and optional groupSep (e.g. ','). Audited: 2026-06-12 11:26 EDT
parseNumberLocale(String input, {String decimalSep = '.', String groupSep = ','}) → double?
Parse/format number with locale (thousands sep, decimals). Roadmap #138–139. Simple implementation: no full locale data; configurable separators. Parses a number string with optional thousands separator. decimalSep default '.', groupSep default ','. Audited: 2026-06-12 11:26 EDT