(self)
| 1405 | inch = property(_get_inch) |
| 1406 | |
| 1407 | def __repr__(self): |
| 1408 | v = asIntOrFloat(self.v) |
| 1409 | if isinstance(v, int): |
| 1410 | return '%d%s' % (v, self.UNITC) |
| 1411 | return '%0.2f%s' % (v, self.UNITC) |
| 1412 | |
| 1413 | class Formula(Unit): |
| 1414 | """Unit class that contains a sequence of other units and rules how to |
nothing calls this directly
no test coverage detected