Any person incarcerated on a bailable offense who does not supply bail or is not otherwise released and against whom a fine is levied on conviction of such offense should be allowed a credit of $5.00 for each day so incarcerated prior to conviction except that in no case shall the amount so allowed or credited exceed the amount of the fine.
Ky. R. Crim. P. RCr 4.58