Is it possible to round a number to the nearest of a few pre defined numbers?
It would probably look something like
round(x,3,6,13)
, where it rounds x to the nearest of the specified numbers.
So you would get:
x = 4
round(x,3,6,13) = 3
x = 7
round(x,3,6,13) = 6
x = 10
round(x,3,6,13) = 13