Float create with
This block retypes the input value (on right side) to the float representation on output side (left). In case the value can’t be retyped to a float, it uses the float value -1 as default value.
It is necessary to retype input string values to floats for float operations with provided data while still in processing and also later when floats are required for data extraction from database for example for float aggregations etc.
In case float value is stored in a database, it is not directly stored under a specified key name, which always stores string representation, but a special key name is created with value representation. Such key name is created as original_key@float. Therefore, for accessing float value retrieved from database, float key name has to be used.
XML representation of math_float_create block
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="math_float_create">
<value name="VALUE">
<block type="text">
<field name="TEXT">1.1</field>
</block>
</value>
</block>
</xml>

Block “Create float with”