if string.atof(Account_Equity1) == string.atof(Account_Equity) - string.atof(money) and \
string.atof(Transfer_Account_Equity1) == string.atof(Transfer_Account_Equity) + string.atof(money):
print u"转账成功后,交易账户管理净值校验OK"
else:
print u"转账成功后,交易账户管理净值校验错误"
print string.atof(Account_Equity1)
print string.atof(Account_Equity) - string.atof(money)
print string.atof(Transfer_Account_Equity1)
print string.atof(Transfer_Account_Equity) + string.atof(money)
结果:
转账成功后,交易账户管理净值校验错误
9828.79
9828.79
111.08
111.08