FR
PréludeChargé par défaut — aucun import nécessaire.

Rounding (Double → Int)

Synopsis
round : Double -> Int

Round to the nearest integer (half away from zero).

floor : Double -> Int

Round down (towards negative infinity).

ceiling : Double -> Int

Round up (towards positive infinity).

truncate : Double -> Int

Round towards zero (drop the fractional part).