$31.75 divided by 8 rounded
3.97 if the number on the right is 5 of higher, it rounds up
$31.75 divided by 8 rounded = 3.96875