(self)
| 3144 | self.label.bold = False |
| 3145 | |
| 3146 | def parse_answer(self): |
| 3147 | chars = ''.join(self.answer) |
| 3148 | if chars == '' or chars == '.': |
| 3149 | result = Decimal('0') |
| 3150 | else: |
| 3151 | result = Decimal(chars) |
| 3152 | if self.negative: |
| 3153 | result = Decimal('0') - result |
| 3154 | return result |
| 3155 | |
| 3156 | def input(self, input): |
| 3157 | if input == '-': |
no outgoing calls
no test coverage detected