Skip to main content

Credit Card Calculator

Simulates the revolving credit (rotativo) widely used in Brazil, including:

  • Interest
  • IOF
  • Next invoice projection
  • Cost alerts

Example

const rotativo = calc.calcRotativo(1000, 300, 15);
rotativo.formatted.custoTotal;
rotativo.alerta;

Alerts may include:

  • "Low cost"
  • "Medium cost"
  • "High cost"