4 ms·
If you use Core, you can use the Float module together with a local open to get nice operators. open Core let () = let n = Float.(2.0 + 3.0) in
by laylomo2 8y ago
If you use Core, you can use the Float module together with a local open to get nice operators.
open Core
let () =
let n = Float.(2.0 + 3.0) in
printf "%f" n