Division rounding? problems

Please ignore. I must have some bug in my code. Sorry.