(to-base d base)
(to-base d base opts)
Convert decimal value to other base representation.
Convert decimal value to other base representation.
(to-base-seq d base)
Convert decimal value to other base representation as a pair of sequences: a seq of values for the integer and a seq of values for the fraction. Note that the fraction sequence may be an infinite sequence.
Convert decimal value to other base representation as a pair of sequences: a seq of values for the integer and a seq of values for the fraction. Note that the fraction sequence may be an infinite sequence.
(to-base16 d)
(to-base16 d opts)
Convert decimal to hexadecimal string representation. Second form takes options map. See to-base for details.
Convert decimal to hexadecimal string representation. Second form takes options map. See to-base for details.
(to-base2 d)
(to-base2 d opts)
Convert decimal to binary string representation. Second form takes options map. See to-base for details.
Convert decimal to binary string representation. Second form takes options map. See to-base for details.
(to-base32 d)
(to-base32 d opts)
Convert decimal to base 32 string representation.
See https://tools.ietf.org/html/rfc4648#page-8 While RFC details encoding process for binary data, only the alphabet is used here.
Convert decimal to base 32 string representation. See https://tools.ietf.org/html/rfc4648#page-8 While RFC details encoding process for binary data, only the alphabet is used here.
(to-base8 d)
(to-base8 d opts)
Convert decimal to octal string representation. Second form takes options map. See to-base for details.
Convert decimal to octal string representation. Second form takes options map. See to-base for details.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close