Home | History | Annotate | Download | only in Lib

Lines Matching refs:fracpart

556                 fracpart = m.group('frac') or ''
558 self._int = str(int(intpart+fracpart))
559 self._exp = exp - len(fracpart)
1034 fracpart = '.' + '0'*(-dotplace) + self._int
1037 fracpart = ''
1040 fracpart = '.' + self._int[dotplace:]
1048 return sign + intpart + fracpart + exp
3711 fracpart = '0'*(-dotplace) + self._int
3714 fracpart = ''
3717 fracpart = self._int[dotplace:]
3722 return _format_number(self._sign, intpart, fracpart, exp, spec)
6166 def _format_number(is_negative, intpart, fracpart, exp, spec):
6171 fracpart: string of digits that must come after the point
6186 if fracpart:
6187 fracpart = spec['decimal_point'] + fracpart
6191 fracpart += "{0}{1:+}".format(echar, exp)
6193 fracpart += '%'
6196 min_width = spec['minimumwidth'] - len(fracpart) - len(sign)
6201 return _format_align(sign, intpart+fracpart, spec)