For a recursive equation I am working on, I need the ability to describe rounding up/down to the nearest value within an ordered set. For instance, let S = $\{ 5x \mid x \in Z \}$. Now suppose I want to represent rounding up from $7.3$ to the nearest $y \in S = 10$, and a way to represent rounding down from $3.9$ to the nearest $z \in S = 0$. Is there any kind of standard notation or the like that I can use for this?
I am using the floor and ceil function syntax would probably be confusing in this context - though presently that is how I'm writing it out for lack of anything better. Please advise! Thanks :)