ari*_*iel 3 python
如果我写1/2(而不是1.0/2.0),我希望python返回0.5.如何让python返回浮点?(我尝试使用getcontext().prec form decimal module)
谢谢
阿里尔
tru*_*ppo 8
使用它,或切换到Python 3.0+
from __future__ import division
归档时间:
15 年,8 月 前
查看次数:
1837 次
最近记录: