Converting to float for division and then convert back
This question already has an answer here:
尝试这个:
scalavars.ExchangeValue = str(float(scalavars.CurrencyAmount) / float(scalavars.Rate))
链接地址: http://www.djcxy.com/p/48438.html
下一篇: 转换为浮动分割,然后转换回来