gpt4 book ai didi

Flutter:如何从货币代码中获取货币符号

转载 作者:行者123 更新时间:2023-12-04 15:00:24 25 4
gpt4 key购买 nike

从语言代码很容易:

var format = NumberFormat.simpleCurrency(locale: "es");
print(format.currencySymbol);
但我唯一拥有的是 EUR对于欧元,所以货币代码

最佳答案

var format = NumberFormat.simpleCurrency(locale: _language); <-- doesn't really what matter what language you pass
print(format.simpleCurrencySymbol("EUR"));

关于Flutter:如何从货币代码中获取货币符号,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67033895/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com