Value :: toInteger - Convert to integer value
The function returns the integer ( int32 ) value for the value handle or for the property passed to the function. When the field definition refers to a value with decimal precisions, the value returned contains only the part before the decimal point. In order to get the exact value valueNormalized() can be called.
When no instance is selected or the value cannot be converted into an integer value, the function throws an exception.
The value is passed as platform independent 32-bit integer value.
Implementation overview
- Get integer value from current value
Value :: toInteger (  ) - Get integer value for passed property
Value :: toInteger ( vSimplePath )
Implementation details
- to list
-
Get integer value for passed property
int32 Value  :: toInteger ( odaba::String &vSimplePath )
The function returns the integer value for the property with the name passed in vSimplePath . When no property exists with the passed name the function throws an exception.
This is a short form for value( vSimplePath ).toInteger() .
- vSimplePath
- Simple property path
A simple property path may contain an extent or property name but also a sequence of property names separated by dot. A simple property path must not contain parenthesis or preceding dots.
to list
- vSimplePath
- Simple property path