What is $\left\lfloor5.\overline9\right\rfloor$ where $\lfloor.\rfloor$ denotes the floor function?
I believe it to be $6$ since converting $5.\overline9$ to fractional form yields $6$. Meanwhile my friend insists that $\left\lfloor5.\overline9\right\rfloor = 5$ since actually $5.\overline9 \ne 6$ but rather is closer to $6$ than any other real number.
Is $\left\lfloor5.\overline9\right\rfloor$ $6$ or $5$?