From what I've learned, we generally keep 1 non-significant digit in final values, but do we round the non-significant digit as well?

Let's say my value is 49.80877. I need to have 5 significant figures, so would the final value be 49.8087 or 49.8088 due to rounding?