File: Web/scripts/scripts.js

Recommend this page to a friend!
  Classes of Burge Lab  >  Burge CMF  >  Web/scripts/scripts.js  >  Download  
File: Web/scripts/scripts.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Burge CMF
Framework to publish managed content
Author: By
Last change:
Date: 4 years ago
Size: 217 bytes
 

Contents

Class file image Download
function priceSeparator(val)
{
	var val=""+val;
	var newVal="";
	var j=0;
	for(var i=val.length-1;i>=0;i--,j++)
	{
		newVal=val[i]+newVal;
		if(j%3==2 && j!=(val.length-1))
			newVal=","+newVal;
	}

	return newVal;
}

For more information send a message to info at phpclasses dot org.