298 |
return round(self.sozv.get() * PV, 2) |
return round(self.sozv.get() * PV, 2) |
299 |
|
|
300 |
def GetKV(self): |
def GetKV(self): |
301 |
|
# KVsoli should be setable by the UI |
302 |
|
self.KVsoli = 1 |
303 |
lohn = self.GetLohn() |
lohn = self.GetLohn() |
304 |
if lohn > self.BMG1 : lohn = self.BMG1 |
if lohn > self.BMG1 : lohn = self.BMG1 |
305 |
if 1 : |
if self.KVsoli : |
306 |
return round(self.sozv.get() * ((self.KVsatz / 2) + 0.009) * lohn, 2) |
return round(self.sozv.get() * ((self.KVsatz / 2) + 0.009) * lohn, 2) |
307 |
else : |
else : |
308 |
return round(self.sozv.get() * self.KVsatz * lohn / 2, 2) |
return round(self.sozv.get() * self.KVsatz * lohn / 2, 2) |