也没什么,就是不能解决对象,反正错误就是在变量NUM上res2 = roundToInteger ( ( int ) num );
      res3 = roundToTenths ( num );
      res4 = roundToHundredths ( num );
      res5 = roundToThousandths ( num );显示这四句有错,全是指向NUM!