The Numeric data type class represents a fixed point number. More...
Static Public Member Functions | |
_.Library.Numeric | DisplayToLogical (_, _.Library.String val) |
Converts the input value val, which is a string representing. More... | |
_.Library.Status | IsValid (_, _.Library.RawString val) |
Tests if the logical value val, which is a numeric value, is valid. More... | |
_.Library.String | LogicalToDisplay (_, _.Library.Numeric val) |
Converts the value of val, which is in logical format, into a display string. More... | |
_.Library.String | LogicalToJSON (_, _.Library.Numeric val) |
Converts the Objectscript value to the JSON number value. | |
_.Library.String | LogicalToXSD (_, _.Library.Numeric val) |
Converts the Numeric value to the canonical SOAP encoded value. | |
_.Library.Numeric | Normalize (_, _.Library.RawString val) |
Converts val to a normalized value. | |
_.Library.Numeric | XSDToLogical (_, _.Library.String val) |
Converts the SOAP encoded input decimal value into a Numeric value. More... | |
Static Public Attributes | |
DISPLAYLIST = None | |
The Numeric data type class represents a fixed point number. More... | |
FORMAT = None | |
The format specification for the data type's display value. More... | |
JSONTYPE = None | |
JSONTYPE is JSON type used for this datatype. | |
MAXVAL = None | |
The maximum allowed logical value for the data type. | |
MINVAL = None | |
The minimum allowed logical value for the data type. | |
SCALE = None | |
The scale value (number of digits following the decimal point) for this data type. More... | |
VALUELIST = None | |
Used for enumerated (multiple-choice) attributes. More... | |
XMLFractionDigits = None | |
The number of fractional digits for XML verification as defined by http://www.w3.org/TR/xmlschema-2/#rf-fractionDigits. | |
XMLTotalDigits = None | |
The total number of digits for XML verification as defined by http://www.w3.org/TR/xmlschema-2/#rf-totalDigits. | |
XSDTYPE = None | |
Declares the XSD type used when projecting XML Schemas. | |
![]() | |
INDEXNULLMARKER = None | |
Override this parameter value to specify what value should be used as a null marker when a property of the type is used in a subscript of an index map. More... | |
The Numeric data type class represents a fixed point number.
|
static |
Converts the input value val, which is a string representing.
a numeric (fixed point) value, into a logical numeric value.
Returns the value of the input string val as a fixed point number.
|
static |
|
static |
Converts the value of val, which is in logical format, into a display string.
Returns the string value of val.
|
static |
Converts the SOAP encoded input decimal value into a Numeric value.
Returns "" for error.
|
static |
The Numeric data type class represents a fixed point number.
Used for enumerated (multiple-choice) attributes.
Used in conjunction with the VALUELIST parameter for enumerated (multiple-choice) attributes. DISPLAYLIST, if not null, represents the display values for the attribute corresponding with the logical values listed in VALUELIST.
The display values are returned by the LogicalToDisplay method.
|
static |
The format specification for the data type's display value.
The value of FORMAT corresponds to the formatting option of the $FNUMBER
function, which is used to perform the formatting. It is also possible to specify FORMAT = "AUTO" which means no formatting (otherwise the display value will be padded with zeroes up to the specified scale).
|
static |
The scale value (number of digits following the decimal point) for this data type.
The logical value will be rounded to the specified number of decimal places.
|
static |
Used for enumerated (multiple-choice) attributes.
VALUELIST is either a null string ("") or a delimiter separated list (where the delimiter is the first character) of logical values. If a non-null value is present, then the attribute is restricted to values in the list, and the validation code simply checks to see if the value is in the list.