Liking cljdoc? Tell your friends :D

dataimitator.shopping.prices


currency-formatsclj

source

format-priceclj

(format-price amount {:keys [symbol position separator decimal prefix]})
source

random-priceclj

(random-price)
(random-price currency)
(random-price min max)
(random-price min max currency)

Generates a random price within the specified range (optional) in the specified currency. Supported currencies: :ar, :de, :en, :es, :fr, :tr, :jp, :gb, :kw. Defaults to :en (Dollar) if no currency is specified.

Generates a random price within the specified range (optional) in the specified currency.
Supported currencies: :ar, :de, :en, :es, :fr, :tr, :jp, :gb, :kw.
Defaults to :en (Dollar) if no currency is specified.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close