Skip to content

Calculators

There are three calculators, Loan, Car Loan and Compare Your Loans. The components are added and configured on page and the interest rates are updated in the Calculator config data source.

Calculator components

Loan Calculator

The Loan Calculator provides an estimate of loan costs for both PrivatlånDirekt and Medlemslån. 

Compare Your Loans

The component estimates how much customers can save by taking a loan with Swedbank.

Monthly Savings

By using this component, customers can calculate their monthly potential savings.

Car Loan Calculator

The Car Loan Calculator can be used to provide an estimate of the cost of a car loan.

IBAN Calculator

The component is used to calculate the IBAN number required for international payments and transactions between countries.

Currency conversation

The Currency Conversion Calculator converts amounts between currencies so customers can view costs in their preferred one.

Calculator-config

Calculator-config is the data source for all calculators and is used to update interest rates. Located in the data-source folder, it translates information into variables used in the calculators.

To edit calculator interest rates:

  1. Go to the data-source folder.
  2. Select Calculator-config and then Properties.
  3. Choose the interest rate to edit for the relevant calculator. Each tab has identical input fields.
Field namePurposeVariableComment
Interest rateUsed for adding the specific calculators interest rate[INTEREST_RATE] 
Effective interest rateUsed for adding the specific calculators effective interest rate[EFFECTIVE_INTEREST_RATE] 
FeesUsed for adding optional fee for specific loan  
Interest rates spanUsed for adding the variable rate interest span[INTEREST_RATES_SPAN]

Add the two numbers separated by “ - “. Do not add percent symbol.

Example: 4,09 - 13,34