Code: Alles auswählen
cresttol = "A"
cresttol[1]Code: Alles auswählen
cresttol = "A"
cresttol[1]Code: Alles auswählen
In [10]: x = -1234.5678
In [11]: x%1
Out[11]: 0.43219999999996617
In [12]: math.modf(x)
Out[12]: (-0.5678000000000338, -1234.0)
In [13]: x - math.trunc(x)
Out[13]: -0.5678000000000338
In [14]: x - int(x)
Out[14]: -0.5678000000000338