Houdini 21.0 Nodes APEX nodes

string::ToFloat

Converts a string to a float.

On this page
Since 21.0

If the input string cannot be converted to a float, a result of 0 is returned.

Inputs

value: String

The string to convert to a float.

Outputs

result: Float

The float representation of the input string. If the string cannot be converted to a float, a result of 0 is returned.

success: Bool

Returns True if the string is successfully converted to a float.

See also

APEX nodes