(defn round [input] (Math/round (double input))) (def testList [4.7 3.3 -17 17 -5.6 -3.3 0]) (def roundedList (map round testList)). ex2.clj
確定! 回上一頁