Setting a localStorage value to 0

I am trying to set a localStorage value to o. At this point the table has no rows.

I have shown 3 lines below:

  • line 1: This is a normal line when there is a value in the Table
  • line 2 and 3: I have made some attempts that don't work.
localStorage.setValue ("minvnumber", table1.selectedRow.data.invnbr);
localStorage.setValue ("TTotals", data.0);
localStorage.setValue ("TTax", 0);

Any suggestions?

Mike

localStorage.setValue ("TTax", null);

Marc: I got it to work but I had to use:

localStorage.setValue("TTax", 0);

So I am out of the woods. Thank you very much. I will mark this as the Solution.

Mike