From 8d01cf3cc2931eeb18f61f9971c1df2b6d05e073 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Wed, 19 Apr 2017 22:45:41 +0200 Subject: [PATCH] missing fun --- src/core/CCFloat.ml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/CCFloat.ml b/src/core/CCFloat.ml index c835b400..2e7fcc41 100644 --- a/src/core/CCFloat.ml +++ b/src/core/CCFloat.ml @@ -73,6 +73,7 @@ let to_int (a:float) = Pervasives.int_of_float a let of_int (a:int) = Pervasives.float_of_int a let to_string (a:float) = Pervasives.string_of_float a +let of_string_exn (a:string) = Pervasives.float_of_string a let of_string (a:string) = Pervasives.float_of_string a