[Python-ideas] Re: Adding fixed-point decimals as an option to replace floating-point

2019-11-14 Thread awesomecronk
Does decimal make this: 4.1 + 0.1 produce 4.2 instead of 4.18? ___ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.or

[Python-ideas] Adding fixed-point decimals as an option to replace floating-point

2019-11-14 Thread awesomecronk
An ideal improvement to python would be the introduction of fixed point decimals. Maybe make them adjustable with os.system(). To adjust, you would call os.system with the parameters ‘fixed’, 3, 15 to dictate fixed point math, three integer places, and 15 decimal places. Might be good for python