Starting a draft for parking collection needs to know how best to calculate the values based on the number of minutes. That way it is not working, I believe I have errors in the logical operators (I'm not familiar with Javascript)
var valor_total = 0.00;
if(tempo_considerado <= 0){
valor_total = 0.00;}
if(tempo_considerado > 0 <= 10){
valor_total = 0.00;}
if(tempo_considerado > 10 <= 15){
valor_total = 2.50;}
if(tempo_considerado > 15 <= 30){
valor_total = 4.00;}
if(tempo_considerado > 30 <= 45){
valor_total = 5.00;}
if(tempo_considerado > 45 <= 60){
valor_total = 6.00;}
if(tempo_considerado > 60){
valor_total = 10.00;}
valor_total = Math.floor(valor_total).toFixed(2);