String.Format("{0:n}", 1234);
number.ToString("#,##0");
string.Format("{0:#,#}", num)
function GetNumberWithQ(Price) {
var myNumber = Price.toString(); // Price Is Your Namber Your Number
var myResult = "";
for (var i = myNumber.length - 1; i >= 0; i--)
{
myResult = myNumber[i] + myResult;
if ((myNumber.length - i) % 3 == 0 & i > 0)
myResult = "," + myResult;
}
return myResult;
}