From c211ed15918a45df7a6e4e08f1fda582d73a276b Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Tue, 15 Oct 2019 19:41:09 +0200 Subject: [PATCH] Feat: remove precision setting for Decimal --- mapytex/calculus/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mapytex/calculus/__init__.py b/mapytex/calculus/__init__.py index 84fc9e8..d1aef78 100644 --- a/mapytex/calculus/__init__.py +++ b/mapytex/calculus/__init__.py @@ -31,6 +31,9 @@ Expression is the classe wich handle all calculus. It can randomly generate or i """ from .API import Expression, Integer, Decimal +from decimal import getcontext +#getcontext().prec = 2 + __all__ = ["Expression"]