roundを試していたら偶数と奇数で振る舞いが違っていた
ghci> round 3.4 3 ghci> round 3.5 4 ghci> round 4.4 4 ghci> round 4.5 4 ghci> round 4.6 5
そういうもの???
roundを試していたら偶数と奇数で振る舞いが違っていた
ghci> round 3.4 3 ghci> round 3.5 4 ghci> round 4.4 4 ghci> round 4.5 4 ghci> round 4.6 5
そういうもの???