📌  相关文章
📜  异常无法将字符串转换为浮点数 - Python 代码示例

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

代码示例1
order_value = '12000'
tax_percentage = 4

tax_amount = (float(order_value)*(tax_percentage / 100))
print("The total tax amount is ", tax_amount)