Section 24. The value or price of property need not be stated, unless an essential element of the crime. If the nature, degree or punishment of a crime depends upon the fact that the property exceeds or does not exceed a certain value, it may be described, as the case may be, of more than that value, or of not more than that value.