I\'m trying to remove the comma from a number.
var thisbill_str = \"\"; thisbill = $(\'#linebill_\' + z).val(); if (isNaN(thisbill) ) { thisbill = 0.00; } thi
thisbill_str = thisbill;
You should be casting to a string here. thisbill_str is still a number, so it doesn't have a replace method.
thisbill_str
thisbill_str = thisbill + '';