2 7/8 is not an integer value, so cannot be expressed as an integer.
It can be rounded to the nearest integer, 3.
9.4m questions
12.2m answers