integer
relationalai.semantics.std.numbers
integer(value: NumberValue) -> VariableCreate an expression that represents an integer with this value.
Parameters
(valueNumberValue) - The integer value.
Returns
Variable- AVariablerepresenting the integer value. ReturnsInteger.
Examples
Create integer expressions:
numbers.integer(42)numbers.integer(Employee.age)Referenced By
RelationalAI Documentation └── Build With RelationalAI └── Understand how PyRel works > Use advanced reasoning > Rules-based reasoning └── Work with numbers └── Cast numeric values