Decimal may raise an InvalidOperation error if the context does not allow the needed precision. But rounding is not necessary for Decimal as we can just test the exponent from the tuple version. Closes #13138 (grafted from 776889be97e4c1b8917a9090338511d8008c625b) --HG-- branch : 6.0
trytond ======= The server of Tryton. Tryton is business software, ideal for companies of any size, easy to use, complete and 100% Open Source. It provides modularity, scalability and security.