Function float

Source
pub fn float(value: Value) -> Result<Value, Error>
Available on crate feature builtins only.
Expand description

Converts a value into a float.

{{ "42.5"|float == 42.5 }} -> true