parse_float
relationalai.semantics.std.floats
parse_float(value: StringValue) -> ExpressionParse a string into a Float.
Parameters
Section titled “Parameters”
(valueStringValue) - The string value to parse.
Returns
Section titled “Returns”Expression- AnExpressioncomputing the parsedFloat. ReturnsFloat.
Examples
Section titled “Examples”Parse strings into floats:
>>> floats.parse_float("3.14159")>>> floats.parse_float("2.3E40")>>> floats.parse_float(Measurement.value_str)