Round diversity values for the web api to the closest integer.