(string->double s)
(string->double s default)
Attempts to convert 's' into a double. If it cannot be converted, an optional 'default' value is returned.
If no default is specified, a nil is used as the default.
Attempts to convert 's' into a double. If it cannot be converted, an optional 'default' value is returned. If no default is specified, a nil is used as the default.
(string->long s)
(string->long s default)
Attempts to convert 's' into a long. If it cannot be converted, an optional 'default' value is returned.
If no default is specified, a nil is used as the default.
Attempts to convert 's' into a long. If it cannot be converted, an optional 'default' value is returned. If no default is specified, a nil is used as the default.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close