§ 10.98 INCARCERATION.
   (A)   Commitment. The person upon whom any fine or penalty is imposed for violation of any provision of this code or any ordinance of the city, upon order of the court before whom the conviction is had, may be committed to the city or county jail as provided by law, or to any other place provided by ordinance for the incarceration of offenders until the fine, penalty and costs are fully paid. No imprisonment, however, shall exceed six months for any one offense.
   (B)   Incarceration, bailable offense. Any person incarcerated on a charge of violating a bailable provision of this code or any ordinance, who does not supply bail and against whom a fine is levied upon conviction of such offense, shall be allowed a credit of $2 for each day so incarcerated prior to conviction, but such credit shall not exceed the amount of the fine levied.
('72 Code, § 1.06(b)(c)(d))