 //alert("This is within the rounding function include file");
// Author Peter Parnham

function roundOff(value, precision)
{
	
        value = parseFloat(value);
        precision = parseInt(precision);

		var result;
		precision = Math.pow(10, precision);
		result = Math.round(value*precision);
		result = result/precision;

        return result;
}
