MatDev• 100
@CauquilM
Posted
Hey ^^ you have the same problem I had when I was coding my own solution, when you set the num of person to 0 after having changed it, the price and tip become NaN. I patched it in my code by denying the user the possibility of setting the Input number of person below 0.
Don't hesitate to like my solution ^^
Regards
0