(number-str? i)
Takes a string, returns true if all chars are numeric. Accepts punctuation (dot and comma).
Doesn't allow the number to begin with 0 followed by another number (such as 008).
Takes a string, returns true if all chars are numeric. Accepts punctuation (dot and comma). Doesn't allow the number to begin with 0 followed by another number (such as 008).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close