Rate: float, principal: long long, payment: long long. The rate is usually a floating-point number with 4 significant digits. The principal and payment are integral usually less than 1 trillion.