📜  python 货币格式语言环境 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:23.528000             🧑  作者: Mango

代码示例1
import locale
from unicodedata import normalize
locale.setlocale(locale.LC_ALL, 'en-ZA')
locale_currency = locale.currency(116114912749.18, grouping=True)
normalized_currency = normalize('NFKD', locale_currency)
print(normalized_currency)