Round off function This function helps to round off the decimal number to the desired number of decimal points.