Skip to content

Commit

Permalink
Update the IOF tax and estimated dollar amounts
Browse files Browse the repository at this point in the history
  • Loading branch information
mirandapedro committed Jan 3, 2025
1 parent fd62934 commit 039ddbe
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,13 @@ <h1 style="font-size:4vw">Calculadora de Taxas de Competição</h1>
<script>

function calcularWCA(valorInscricao) {
if ((valorInscricao * 0.15) > 2.36) {
var valorWCA = valorInscricao * 0.15 * 1.0538
if ((valorInscricao * 0.15) > 2.78) {
<!-- 2.78 is an estimation of US$0.45 (the minimum WCA due amount for Brazil)
in BRL as of 3 January 2025 -->
var valorWCA = valorInscricao * 0.15 * 1.0338
<!-- 3.38% represent the amount of the IOF tax, which will be gradually phased out until 2028 -->
} else {
var valorWCA = 2.36 * 1.0538
var valorWCA = 2.78 * 1.0338
}
return valorWCA
}
Expand Down

0 comments on commit 039ddbe

Please sign in to comment.