// added by Garland Wong
function eXcell_roInt2(cell){
	this.cell = cell;
	this.grid = this.cell.parentNode.grid;
	this.edit = function(){}
	this.setValue = function(val){
		var stringVal = '';
		if(!isNaN(val)) 
		{
			val = Math.round(val*100)/100;
			stringVal = val.toString();
			if(stringVal.indexOf('.') < 0)
				 stringVal = stringVal + '.00';		
		}			
		else
			stringVal = val.toString();
		
		this.cell.innerHTML = stringVal;
	}
	this.getValue = function(){
		return this.cell.innerHTML.toString();
	}
}
eXcell_roInt2.prototype = new eXcell;

// added by Garland Wong
function eXcell_roInt0(cell){
	this.cell = cell;
	this.grid = this.cell.parentNode.grid;
	this.edit = function(){}
	this.setValue = function(val){
		
		if(!isNaN(val)) 
			val = Math.round(val);
							
		this.cell.innerHTML = val;
	}
	this.getValue = function(){
		return this.cell.innerHTML.toString();
	}
}
eXcell_roInt0.prototype = new eXcell;
