Use Quantity.value with a runtime target