Integer
Block “Number” is used to define constant of integer type. It is allowed to input only integer positive and negative values which are internally processed as Integers.
Integer values can be used in comparisons in logic operations.
In case integer 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@int. Therefore for accessing integer value retrieved from database integer key name have to be used.
XML representation of math_number block:
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="math_number">
<field name="NUM">0</field>
</block>
</xml>
{
"my_value": "123",
"my_value@int": {
"value": 123
}
}