I'd like to name an option of my application which triggering following calculation:
"If 0<x<0.5, then rx=1; If 99.5<x<100, then rx = 99"

rx is the result rounding x to the nearest one (ex: x=36.59 -> rx = 37).
x is the percentile rank of something. This option restricts the percentile to 99 which isn't perfectly PR=100.