Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / %xsd.long
Private  Storage   

%xsd.long


datatype class %xsd.long extends
%Integer

ODBC Type: VARCHAR

This data type represents an integer value. Internally, this is stored as an integer.

MAXVAL and MINVAL are not set, because they are at the edge of useful ObjectScript integer bounds.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2


Summary


Methods
DisplayToLogical IsValid LogicalToDisplay Normalize
XSDToLogical


Parameters


• parameter STRICT = 1;
If '1' then IsValid will return false for numbers that are not integers e.g. 1.2, -0.01 rather than the default behavior which is to allow these an normalize them to an integer. This validation is done by $number using "I" format, so the rules associated with this function apply.
• parameter XSDTYPE = "long";
Declares the XSD type used when projecting XML schemas.