Estimate the number of months required to pay off a credit card balance given its APR and a fixed monthly payment amount.
Formula
n = −ln(1 − (Balance × r) / Payment) / ln(1 + r), where r = APR / 12