package core_bench

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Source file to_string.ml

1
2
3
4
5
6
7
8
open Core

let float_to_string = Float.to_string_hum ~decimals:2

let float_opt_to_string = function
  | Some v -> float_to_string v
  | None -> ""
;;
OCaml

Innovation. Community. Security.