Convert APR (nominal rate) to APY (effective yield) using compounding frequency — and back. Local-only.