Szymon <szymon1...@gmail.com> added the comment:

Thanks for the replies. The use of format works great. Maybe it's worth 
mentioning in the documentation because using "%f" % Decimal("0.00000001") leds 
to loosing precision (cast to float64 I guess) while using 
f"{"Decimal('0.00000001'):f}" does the thing correctly.

----------

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

Reply via email to