package virtual_dom

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

Decimal can be used to create decimal number inputs

Note that of_string/to_string raise if t is NaN, +Inf, or -Inf, since these are not valid decimals and cannot be used in number inputs.

type t = float
val of_string : string -> t
val to_string : t -> string