New submission from Jakub Szewczyk <jakub.szewc...@gmail.com>:

Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bit 
(AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

>>> print ("{:.2n}".format(1.89))
1.9

>>> print ("{:.2f}".format(1.89))
1.89

----------
components: Extension Modules
messages: 318388
nosy: Jakub Szewczyk, eric.smith
priority: normal
severity: normal
status: open
title: string format 'n' produces numbers with incorrect precision
type: behavior
versions: Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33730>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to