virtual_dom
  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val to_js_string : float -> Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t

Calls the toString method on the float

val to_js_string_fixed : int -> float -> Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t

Calls the toFixed method on the float https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toFixed

val to_js_string_precision : int -> float -> Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t

Calls the toPrecision method on the float https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toPrecision

val to_js_string_exponential : float -> Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t

Calls the toExponential method on the float https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toExponential

val to_string : float -> string
val to_string_fixed : int -> float -> string
val to_string_precision : int -> float -> string
val to_string_exponential : float -> string