Calculator is not working as expected

Hello @sitepoint
I made javascript calculation that works when i enter data manually! (i bet it could be much much smaller but i m noob on this at the moment)

Now i added data from database and the issue is that it do not calculate empty inputs :frowning:

i made an example here:
Price and Percentage is coming from database.

Any advice or help would be appreciated!

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.