how do you convert any value int, double, float and so on into a decimal with only .0 decimal place

example

height 155.55
height2 213.5
height3 444.0

average height = 271.0166666666=(height+2+3)/3
but i want to display only 271.0