[26660] compare int with double by subtracting during describe percen…
- [x] closes #26660 
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

I am not sure whether I had put my issue in whatsnew entry in appropriate place.