Subversion Repositories SmartDukaan

Rev

Rev 30843 | Rev 31356 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 30843 Rev 30844
Line 426... Line 426...
426
 
426
 
427
}
427
}
428
 
428
 
429
function numberToComma(x) {
429
function numberToComma(x) {
430
	if (isNaN(x)) {
430
	if (isNaN(x)) {
431
		x = parseInt(x.replaceAll(",",));
431
		x = parseInt(x.replaceAll(",", ''));
432
 
432
 
433
	}
433
	}
434
	x = x.toString();
434
	x = x.toString();
435
	x = x.split('.');
435
	x = x.split('.');
436
	var x1 = x[0];
436
	var x1 = x[0];