Logmanager documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Float create with

Block retypes input value (on right side) to float representation on output side (left). In case when value can’t be retyped to float uses 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 database it is not directly stored under specified key name which always stores string representation, but 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.

Block XML representation

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>

Example of visual representation

Block "Create float with"

Block “Create float with”