Skip to content

ParseFloat

Name - Description Default Type
<input> A string representing a number. String
<output> A floating-point number equivalent to the number contained in the string input. Float

Converts the string representation of a number to a floating-point number equivalent.

Examples

1
2
"3.14" (ParseFloat) (Log)
(Assert.Is 3.14 :Abort true)
[info] [shards/General/ParseFloat/1.edn] 3.14