Python 转换金额大写为数字小写
py浮点型运算有一个魔法,例如1.01*3.0=3.0300000000000002
所以全部转为整数运算,最后除100返回
def toInt(value):
isum = 0
nums = {
'零': 0, '壹': 1, '贰':2, '叁':
def toInt(value):
isum = 0
nums = {
'零': 0, '壹': 1, '贰':2, '叁':