Added the round( ) function to avoid error while multiplication of float numbers issue: #46362
- Added round( ) function to round the values and then convert it to int type while they are passed into the list-out, so that we can avoid conversations of int(28.999999999999996) to 28.
- if we round the value first it will be converted into 29 and then formating them to int type.
- ✅ closes #46362 
- ✅ [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- ✅ All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- ✅ Added an entry in the latest `doc/source/whatsnew/v1.4.2.rst`

Hello @ShamithaReddy! Thanks for updating this PR. We checked the lines you've touched for [PEP 8](https://www.python.org/dev/peps/pep-0008) issues, and found:



* In the file [`pandas/tests/io/formats/test_format.py`](https://github.com/pandas-dev/pandas/blob/693a4b8a54c0054443bda2954d9650831a6bea94/pandas/tests/io/formats/test_format.py):

> [Line 3266:43](https://github.com/pandas-dev/pandas/blob/693a4b8a54c0054443bda2954d9650831a6bea94/pandas/tests/io/formats/test_format.py#L3266): [E231](https://duckduckgo.com/?q=pep8%20E231) missing whitespace after ','
> [Line 3266:48](https://github.com/pandas-dev/pandas/blob/693a4b8a54c0054443bda2954d9650831a6bea94/pandas/tests/io/formats/test_format.py#L3266): [E231](https://duckduckgo.com/?q=pep8%20E231) missing whitespace after ','
> [Line 3266:53](https://github.com/pandas-dev/pandas/blob/693a4b8a54c0054443bda2954d9650831a6bea94/pandas/tests/io/formats/test_format.py#L3266): [E231](https://duckduckgo.com/?q=pep8%20E231) missing whitespace after ','



##### Comment last updated at 2022-03-19 08:18:40 UTC > needs a test to replicate the original issue (the describe case)
@jreback 
I did already include the original test case in https://github.com/pandas-dev/pandas/pull/46388/commits/998f9174c27d3cee9eddc90428e0e0765ee5979a
 This pull request is stale because it has been open for thirty days with no activity. Please [update](https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#updating-your-pull-request) and respond to this comment if you're still interested in working on this. Thanks for the pull request, but it appears to be stale. If interested in continuing, please merge in the main branch, address the review, and we can reopen.