function roundOff(num, dec)
{
	// This function rounds a numder to the decimal places
	var rtrn = Math.round(num*Math.pow(10, dec))/Math.pow(10, dec);
	return rtrn;
}
