#701·codon

在没有 en_US.UTF-8 时,格式化浮点数的打印失败

作者: puni073创建于 2025年10月8日更新于 2026年9月8日
python
print(f"{3.14159265:.2f}")

当 en_US.UTF-8 不可用时,这会导致运行时错误。