osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Truncation error


If you want to avoid float problems, you can use Decimal:

https://docs.python.org/3/library/decimal.html

On Wed, 7 Oct 2020 at 05:23, Meghna Karkera <mkarkera98 at gmail.com> wrote:
>
> How is PYTHON better than other software's(MATLAB) in case of truncation or
> rounding off error.
>
> Thanks
> Meghna
> --
> https://mail.python.org/mailman/listinfo/python-list