2.5.6.7 vSignedLong
The vSignedLong custom input type specifies a signed long integer derived from a source token that MUST be a vNumAny custom token grouping or a PtgString or PtgCy parse token. It contains the following computed properties.
Value: This property specifies a signed long integer derived from the source token as follows.
-
If the source token Value can be converted to a double, as described in [MSDN-ToDouble] or as specified in [MS-OAUT] section 2.2.25 for a date value, the Value is equal to a signed long integer calculated as follows:
-
Use the conversion method described in [MSDN-ToDouble] or [MS-OAUT] section 2.2.25 to obtain a double value. If the double value is not an integer, round the value towards zero to the next integer. If the integer is less than -2147483648 or greater than 2147483647, the input argument is not valid.
-
-
If the source token Value is equal to TRUE (case insensitive), the Value is equal to one. If the source token Value is equal to FALSE (case insensitive), the Value is equal to zero.
-
In all other cases, the input argument is not valid.
Unit: This property specifies the Unit of the operand token and this property has no value for this custom input type.