Value :: toNormalizedInteger - Get normalized integer value
The function can be called in order to get integer values with decimal precisions as normalized integer. When defining a an attribute with two decimals ( INT (10,2) ), referring to the value 1, which is stored internally as 100 (1.00), will result in 1. Using toNormalizedInteger() will return 100 , instead.
When no instance is selected in the property or the property instance 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 normalized value for current property
Value :: toNormalizedInteger (  ) - Get normalized integer value for passed property
Value :: toNormalizedInteger ( vSimplePath )
Implementation details
- to list
-
Get normalized integer value for passed property
int32 Value  :: toNormalizedInteger ( odaba::String &vSimplePath )
The function returns the normalized 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 ).toNormalizedInteger() .
- 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