Cloth sold by mudara‘ah is priced by what?

Kitab al-Buyu: Grain Sales, Bulk Heaps, Qafiz and Unit Prices