Skip to content

Conversation

@fishcg
Copy link

@fishcg fishcg commented Aug 9, 2018

  • BUG:微信支付时需将人民币价格单位转为“分”,当传入价格为浮点数时,计算结果可能丢失精度,eg:
    return 19.9 * 100 // 接口将返回 1989.9999999999

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant