Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Luciano Barletta
/
Pruebas-RTO
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 57e9a4c3
authored
2024-03-24 11:11:26 -0300
by
Juan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Correcion de funciones echa por el ingeniro
1 parent
ff8565e4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
static/src/report.js
static/src/report.js
View file @
57e9a4c
...
...
@@ -155,13 +155,13 @@ function calcularResultadoSub(num) {
// Realizar el cálculo deseado (en este caso, suma)
//const resultado2 = numero1 - numero2;
var
efc
=
(
100000
0
*
(
numero1
+
numero2
))
/
(
pesoFloat
*
9.81
);
var
efc
=
(
100000
*
(
numero1
+
numero2
))
/
(
pesoFloat
*
9.81
);
// Actualizar el campo de salida con el resultado
diferencia_freno_1
.
value
=
calcularDiferenciaPorcentaje
(
numero1
,
numero2
);
//eficacia_freno_1.value = resultado2.toFixed(2);
eficacia_freno_1
.
value
=
efc
.
toFixed
(
2
);
eficacia_freno_1
.
value
=
efc
.
toFixed
(
0
);
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment