Lets say if i have 5.5 in a caption how would i get just the 5

i know it has something to do with the int command