We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi!
First of all thank you for providing this useful multimeter tool! I found 4 bugs in the Measurement class:
return self._data['unit']
return self._data['display_unit']
To fix the last two issues, I rewrote lines 242 - 245:
if self._data['unit'][0] in self._EXPONENTS: if not self._data['overload']: self._data['decimal'] = self._data['decimal']*decimal.Decimal(10)**self._EXPONENTS[self.unit[0]] self._data['unit'] = self._data['unit'][1:] # remove first char
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi!
First of all thank you for providing this useful multimeter tool! I found 4 bugs in the Measurement class:
return self._data['unit']
instead ofreturn self._data['display_unit']
.To fix the last two issues, I rewrote lines 242 - 245:
The text was updated successfully, but these errors were encountered: