diff --git a/FixedPoint.py b/FixedPoint.py index 4bccd9f..92efc48 100644 --- a/FixedPoint.py +++ b/FixedPoint.py @@ -523,7 +523,7 @@ def toDecimalString(self, precision=None, round10=False): of the indicative base-10 precision, which may be significantly less than the number of decimal digits required to fully represent the lowest-order - fractional bit. Set this to self.family.fractional_bits + fractional bit. Set this to self.family.fraction_bits to guarantee that all non-zero decimal digits are shown. round10 - Round last decimal digit of fractional part, by adding 0.5/10^precision.