我想要“1.284,00AOA”而不是默认的"AOA 1.284,00“。
final Function currencyFormat = NumberFormat.currency(
decimalDigits: 2,
symbol: 'AOA',
).format('1284'); /// Current: AOA 1.284,00发布于 2020-06-04 14:52:24
您可以使用以下代码:
NumberFormat.currency(locale: 'eu', symbol: 'AOA').format(123456);这里有更多的例子:https://www.woolha.com/tutorials/dart-formatting-currency-with-numberformat
https://stackoverflow.com/questions/62197560
复制相似问题