Liking cljdoc? Tell your friends :D

binance-clj.decimal

Lossless decimal parsing and plain-wire serialization helpers.

Lossless decimal parsing and plain-wire serialization helpers.
raw docstring

normalizeclj

(normalize value)

Returns a numerically canonical BigDecimal without silently rounding it.

Returns a numerically canonical BigDecimal without silently rounding it.
sourceraw docstring

parseclj

(parse value)

Parses a BigDecimal, integer, or strict plain-decimal string without rounding.

Exponent notation, floating-point inputs, whitespace, and shorthand forms such as .1 are rejected so the accepted lexical form is always explicit.

Parses a BigDecimal, integer, or strict plain-decimal string without rounding.

Exponent notation, floating-point inputs, whitespace, and shorthand forms such
as `.1` are rejected so the accepted lexical form is always explicit.
sourceraw docstring

plain-stringclj

(plain-string value)

Returns a non-scientific decimal string while preserving meaningful scale.

Returns a non-scientific decimal string while preserving meaningful scale.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close