recalcular
This commit is contained in:
@@ -22,7 +22,7 @@ const fecha = ref("");
|
|||||||
|
|
||||||
const calcular = () => {
|
const calcular = () => {
|
||||||
let valor = 0;
|
let valor = 0;
|
||||||
valor = temp_max.value - humedad_relativa.value * 0.2;
|
valor = temp_max.value - humedad_relativa.value * 0.37;
|
||||||
//console.log(Math.round(valor));
|
//console.log(Math.round(valor));
|
||||||
let hoy = new Date();
|
let hoy = new Date();
|
||||||
let newDate = date.addToDate(hoy, { days: Math.round(valor) });
|
let newDate = date.addToDate(hoy, { days: Math.round(valor) });
|
||||||
|
|||||||
Reference in New Issue
Block a user