Use properFraction: http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#v%3AproperFraction
> Hi, > In other weak-type language, `round i == i` would work. But in > haskell, what should I do? Thanks. > -- > 竹å¯å²å¦¨æµæ°´è¿ > å±±é«åªé»éäºé£ > _______________________________________________ > Haskell-Cafe mailing list > Haskell-Cafe@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe > _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe