I wanna round a % so it does not show like this 41.163636363636
What do I add to the query and where ?
just use number_format
or you could use round($varaible,0) or floor($variable) or ceil($variable) They all do the same thing, round to the nearest integer. Ceiling and floor override normal mathmatical rounding rules eg 3.3 with ceiling would still go to 4.