can you help guys?

brokolists coreyahmet at gmail.com
Fri Apr 24 17:31:32 CEST 2015


i fixed the problem . ty for helps btw.
the problem was after i started using Decimal was i was cheking the outputs  based on their lenght  and when you type
getcontext().prec=20 ;
it returns allmost every mathematical output based on 20 digits eventhough
when they are not neccessary like 20.00000...00 = 20
the code was to fix this was there all the time and i mannaged to find it eventually ;
Decimal.normalize(x); it deletes the unneccesary zeros.
ty for helps btw.



More information about the Python-list mailing list