Float to Int in Avg

Apply also in average calculation the change from float to int to show
less decimals