Interest Rate APR/APY Conversion
p = periods of compounding. Example: monthly then p = 12
APR = ((APY + 1)**1/p - 1) * p
APY = (1 + APR/p)**p - 1
p = periods of compounding. Example: monthly then p = 12
APR = ((APY + 1)**1/p - 1) * p
APY = (1 + APR/p)**p - 1