could try Math.ceil() or Math.floor() to round up or down depending on what you want with the rounded value11 divided by half is around 5 or 6.
Not sure how I'm messing up but I have to be proud of how creative it is. If it didn't land on 0 sometimes I would keep it and just let it spout off random numbers.