Are ordinal variables categorical or quantitative?

In statistics, ordinal and nominal variables are both considered categorical variables.

Even though ordinal data can sometimes be numerical, not all mathematical operations can be performed on them.