Any person convicted of a misdemeanor or violation of any section of this code shall be fined in a sum not exceeding three hundred dollars ($300.00) for any one offense, provided said fine shall not exceed the amount permissible in the magistrate's division of the district court, or confined in the county jail not more than thirty (30) days, or both such fine and imprisonment, recoverable with costs, and in default of payment of any fine imposed shall be imprisoned in the city or county jail for a period of one day for each ten dollars ($10.00) of such fine, provided that upon conviction of driving a motor vehicle while the driver is intoxicated or under the influence of intoxicating liquor, the court shall demand the delivery of the driver's license. Whenever a defendant is sentenced to imprisonment or is imprisoned for nonpayment of a fine or costs, the defendant may be put to work for the benefit of the city for the term of his or her imprisonment. (Ord. 895, 2-9-2012)