Skip to content

Tag: html

how to make var return 0.00 instead of NaN?

Im working on a price calculator at the moment but in the var proapp2 it will show NaN when the pro app Benutzer slider is 0 how can i make it show 0.00 instead of NaN? i tried if (isNaN(proapp2)) proapp2 = 0.00; but it didnt work?What am i doing wrong?Also i want it to return 0.00 instead of 0.i

how to edit jquery calculation start from zero

I want my code to start from zero at the total odds and the payout amount, the button with 9.00 is supposed to append the div to the cart and remove when i re-click on it the problem occurs when i re-click on the button the calculation remains the same, It is supposed to go back to zero as in