0
please fix this code
i want add tax number to x variable and get sum of them like 5 + 7 = 12 not 57 in this code <table border="1"> <tr> <td><input id="price" type="number" />price</td> </tr> <tr> <td><input id="dis" type="number" />discount %</td> </tr> <tr> <td><input id="tax" type="number" />tax %</td> </tr> <tr> <tr> <td><p id="final0">price after discount</td> </tr>
1 Respuesta
+ 3
Try with parseInt
https://code.sololearn.com/WakzUVp018jD/?ref=app