das geht mit der Integer-Funktion int():

[ganzzahl] = int([Wert])

Gruß MeckPommER