Whenever in this article a license, business or other tax is a graduated one based upon the value of stock, the word stock shall be deemed to mean the average stock on hand for the entire calendar year preceding for which the tax is levied. If the taxpayer was not in business during the entire preceding year, then the average shall be computed for the time the taxpayer was in business. If a business is begun after January 1 of the year for which the tax was levied, the value of the stock shall be determined as of the date of commencing business.