• + 0 comments

    here for rounding you can use Math.round or you can just add 0.5 to total for rounding value like: sout((int)(total + 0.5));