When defining the median for an odd number of measurements, should we use [(n+1)/2]th or [(n+1)/2]nd?

When defining the median for an odd number of measurements, should we use [(n+1)/2]th or [(n+1)/2]nd?

I am aware of a related question but I am nor sure if having the number 2 in the denominator makes a difference.


An educational article from the relevant Singapore Government Agency website has

' ... the (n+1)/2 -th term'

and I'm sure other texts will follow this practice (though I'd prefer the th as a superscript and without the hyphen).

This surely reflects how one would pronounce this when necessary (though I think I got away with two times per A-Level Maths cohort).