Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 openpyxl 创建一个 excel 工作表。一些单元格代表货币价值。如何将单元格的格式更改为“货币”类型,即我希望在数字后显示“€”符号。
尝试使用您想要的格式代码设置格式代码
_cell.number_format = '#,##0.00€'