(self)
| 2073 | return base * self.v / 100 |
| 2074 | |
| 2075 | def __repr__(self): |
| 2076 | v = asIntOrFloat(self.v) |
| 2077 | if isinstance(v, int): |
| 2078 | return u'%d%%' % v |
| 2079 | return u'%s%%' % asFormatted(v) |
| 2080 | |
| 2081 | def _get_pt(self): |
| 2082 | """Answers the rendered value in pt. Base value for absolute unit |
nothing calls this directly
no test coverage detected