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

[ci skip]fix calculate percent