What does a Quantity Surveyor do?

A Quantity Surveyor or QS is appointed in a construction [...]