Spline functions are widely used in the fitting of the term structure of interest rates. This article provides a technique for selecting the smoothest curve in the set of spline functions which satisfy the conditions assigned by the user on the precision of the fitting curve