package core

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

Does not format small values as "3bp" or large ones as "2x"; always uses percentages ("0.0003%" or "200%"). The standard of_sexp can read these just fine.

Note: rounds to 6 significant digits only (as opposed to Percent.Stable.V3.Always_percentage, which is accurate, or Percent.Almost_round_trippable.Always_percentage, which rounds to 14 significant digits).

type nonrec t = t
val sexp_of_t : t -> Sexplib0.Sexp.t
val to_string : t -> Base.String.t
val format : t -> Format.t -> Base.String.t