aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/float.gleam2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/float.gleam b/src/float.gleam
index cd1d43e..8902a82 100644
--- a/src/float.gleam
+++ b/src/float.gleam
@@ -15,3 +15,5 @@ pub fn to_string(f) {
pub external fn ceiling(Float) -> Float = "math" "ceil";
pub external fn floor(Float) -> Float = "math" "floor";
+
+pub external fn round(Float) -> Int = "erlang" "round";