rem: field.value = cell.endValue; 
add: field.value = cell.getDisplayValue(); 
context: function processValue( id ){	var cell = globalGrid.getCell( id );	if( cell.calc )		return cell.endValue;			var value = cell.value;	if( value == null || value.substr( 0, 1 ) != "=" )	{		cell.endValue = value;	}	else	{		var temp = value.substr( 1 );		temp = temp.replace( /\$?([A-Z]+)\$?([0-9]+):\$?([A-Z]+)\$?([0-9]+)/g,			function( $0, $1, $2, $3, $4 )			{				var topLeft = globalGrid.getCell( $1 + $2 );				var bottomRight = globalGrid.getCell( $3 + $4 );				var row = topLeft.row;				var col;				var list = new Array;				while( row != bottomRight.row.next )				{					col = topLeft.column;					while( col != bottomRight.column.next )					{						c = row.getCell( col );						if( c.master == null || c.master == c )							list.push( c.getId() );						col = col.next;					}					row = row.next;				}				return "[" + list.join(",") + "]";			}		);		temp = temp.replace( /\$?([A-Z]+)\$?([0-9]+)/g, "parseFloat(processValue( '$1$2' ))" );		cell.endValue = eval( temp );	}	field = globalGrid.target[id];	cell.calc = true;	if( field )		field.value = cell.endValue;	return cell.endValue;}
meta: 1241	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1241/d6d67202c6dec8fb6ac7482475cdd8854e1d8080/grid.js/clean/lib/sheet/grid.js