JavaScript is very lose in type checking, that is, JS does not verify or keep the type the same for an item and JS will change the type of an item form number to string if it looks like that should be done. You can use the "Number(cSting)" constrictor to force an item to a number in JS and might be ...