package server-reason-react

  1. Overview
  2. Docs
Rendering React components on the server natively

Install

dune-project
 Dependency

Authors

Maintainers

Sources

server-reason-react-0.4.1.tbz
sha256=2d27cb4656208dde8d5eb0c452c590186d092618ac0a04f1ab0a095a3ca58498
sha512=26e16daf87f6b80eff86ccf7df29153527b24e3f4dbc7f13820d1507b0a2e7d6db40fd774bcaad6e6cccff0bf19d4a411b95a10a071f9ce92d52bf07eb08f75f

doc/server-reason-react.js/Js/Float/index.html

Module Js.FloatSource

Provides functions for inspecting and manipulating floats

Sourcetype t = float
Sourceval _NaN : t
Sourceval isNaN : t -> bool
Sourceval isFinite : t -> bool
Sourceval isInteger : t -> bool

Returns true if the value is a finite number with no fractional part

Sourceval toExponential : ?digits:int -> t -> string

Formats a number in exponential notation.

Sourceval toFixed : ?digits:int -> t -> string

Formats a number with fixed-point notation.

  • raises Failure

    if digits is not in range 0-100

Sourceval toPrecision : ?digits:int -> t -> string

Formats a number with the specified number of significant digits.

Sourceval toString : ?radix:int -> t -> string

Converts a number to a string. Optionally specify a radix (2-36).

Sourceval fromString : string -> t