Module Accessor_core__.Accessor_percent

val mult : (_, float, Core_kernel.Percent.t[< Accessor_core__.Import.isomorphism ]) Accessor_core__.Import.Accessor.Simple.t

Access a percent as a float.

val percentage : (_, float, Core_kernel.Percent.t[< Accessor_core__.Import.isomorphism ]) Accessor_core__.Import.Accessor.Simple.t

Access a percent as a float multiplied by 100. This is not quite well-behaved, due to potential rounding error.

val bp : (_, float, Core_kernel.Percent.t[< Accessor_core__.Import.isomorphism ]) Accessor_core__.Import.Accessor.Simple.t

Access a percent as a float multiplied by 10_000. This is not quite well-behaved, due to potential rounding error.

val scaled : float -> (_Core_kernel.Percent.tCore_kernel.Percent.t[< Accessor_core__.Import.isomorphism ]) Accessor_core__.Import.Accessor.Simple.t

scaled is not a well-behaved accessor, because it does not necessarily round trip.