Good! I am creating a super simple calculator through forms, it is only based on this proposed systems of equations resolver: link
The problem that arises is that when entering a fraction of the type "x / y", the parseFloat that is in the line that contains this cycle for inside the gauss () function reduces it to only x, eliminating the denominator and invalidating the division:
for(i=1;i<=3;i++){
a[i]=[0,0,0,0],b[i]=[0,0,0,0],c[i]=[0,0,0,0]
for(j=1;j<=4;j++){
a[i][j]=parseFloat(document.forms[0][4*i+j-5].value)
}
}
Any ideas on how to make the fractions of the "x / y" type resolve before the parseFloat cuts them, so that the decimal is saved at one time? I understand that it should not be so difficult, since in the console I tried to insert a fraction "1/2" inside an array, and this was saved as a decimal at once, but I'm just learning the very basic and I do not move for sure for programming.
Attentive to your answers, and thanks in advance!