fix calculate percent
Merge pull request #4277 from 2youyouo2/master

[ci skip]fix calculate percent