Obviously I forgot about the "fraction()" function, so I removedchanged parts of this article (thanks @Mario for the hint) :) If you need the digits behind the decimal seperator of a number, you might subtract the integer of the number from the number itself: 1.3 int(1.3) e.g. would result ...