Converting Double To Int Java