how to turn float in integer ?

Hi,

when i use the memory fact in my template and divide the memory and the outcome is a float
is there a way to turn the float into an integer in Ansible ?

{{floatvar|int}}