1 |
|
# -*- coding: iso-8859-1 -*- |
2 |
# -------------------------------------------------------------------- |
# -------------------------------------------------------------------- |
3 |
# LST2005 -- Python Modul zur Berechnung der Deutschen Lohnsteuer 2005 |
# LST2005 -- Python Modul zur Berechnung der Deutschen Lohnsteuer 2005 |
4 |
# $Id$ |
# $Id$ |
579 |
self.WFUNDF = value |
self.WFUNDF = value |
580 |
|
|
581 |
def Set_ZKF(self, value): |
def Set_ZKF(self, value): |
582 |
|
assert float(value) == float("%.1f" % value) and \ |
583 |
|
value >= 0, \ |
584 |
|
"must be positive, and must not have more than one decimal digit" |
585 |
self.ZKF = value |
self.ZKF = value |
586 |
|
|
587 |
def Set_ZMVB(self, value): |
def Set_ZMVB(self, value): |
588 |
self.ZMVB = value |
self.ZMVB = value |
589 |
|
|
614 |
"""Setzt Kirchensteuer in Prozent""" |
"""Setzt Kirchensteuer in Prozent""" |
615 |
self.Set_R(prozent) |
self.Set_R(prozent) |
616 |
|
|
617 |
|
def SetKinderfreibetrag(self, kfb): |
618 |
|
"""Setzt Kinderfreibetrag lt. Lohnsteuerkarte""" |
619 |
|
self.Set_ZKF(kfb) |
620 |
|
|
621 |
def GetLohnsteuer(self): |
def GetLohnsteuer(self): |
622 |
"""Liefert Lohnsteuer in Euro.Cent""" |
"""Liefert Lohnsteuer in Euro.Cent""" |
623 |
return round(self.LSTLZZ / 100, 2) |
return round(self.LSTLZZ / 100, 2) |