truncate/round down 2nd string print both

I have a file with a name and then a number:

Apple 1.1
Apple 1.5
Apple 1.9
Banana 1.3
Banana 2.7
Banana 3.3

I'd like to print out the first string followed by the second number rounded down or truncated:

Apple 1
Apple 1
Apple 1
Banana 1
Banana 2
Banana 3

I was trying:

awk '{print $1 ; printf("%d\n",$2)}' infile > outfile &

but that printed out the number on a new line.

I'm certain this can't be that complicated.

Thanks so much.

Try

awk '{printf("%s %d\n", $1, $2)}'

Thanks so much. That worked. :b::b::b:

sed 's/\(.*\)\(\..*\)/\1/'  filename