[New-bugs-announce] [issue47160] round function is not working as expected

ATUL VISHAL report at bugs.python.org
Wed Mar 30 06:45:33 EDT 2022


New submission from ATUL VISHAL <vishalatul09 at gmail.com>:

round function is not working as expected .
my number is x= 0.967565*185000= 178999.525
round(x,2)
answer is coming as 178999.52
expected value is 178999.53

----------
components: Library (Lib)
files: compiled_result.jpg
messages: 416333
nosy: vishalatul09
priority: normal
severity: normal
status: open
title: round function is not working as expected
type: behavior
versions: Python 3.7
Added file: https://bugs.python.org/file50707/compiled_result.jpg

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47160>
_______________________________________


More information about the New-bugs-announce mailing list