Checking if value of element is greater then or equal to Zero(0) but in case of empty string its result true
var amount = $(this).text();
if (amount >= 0) {
$(this).text(parseInt(amount).toLocaleString());
}
if amount = "" then result is NaN why?