We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 606ebff commit 9ed0568Copy full SHA for 9ed0568
source/energy_classes.py
@@ -90,7 +90,7 @@ class StateOfCharge:
90
absolute: EnergyAmount
91
92
def __repr__(self):
93
- return f"{self.in_percentage:.2f} % ({self.absolute})"
+ return f"{self.in_percentage} % ({self.absolute})"
94
95
def __add__(self, other: StateOfCharge) -> StateOfCharge:
96
return StateOfCharge(self.absolute + other.absolute)
0 commit comments