IRISLIB database
float Class Reference

This data type represents a floating point number. More...

Inheritance diagram for float:
Collaboration diagram for float:

Static Public Member Functions

_.Library.Status IsValid (_, _.Library.RawString val)
 Tests if the logical value val, which is a floating point value, is valid. More...
 
_.Library.Float XSDToLogical (_, _.Library.String val)
 Converts the SOAP encoded input decimal value into a logical value. More...
 
- Static Public Member Functions inherited from Float
_.Library.Float DisplayToLogical (_, _.Library.String val)
 Converts the input value val, which is a string representing a floating point value,. More...
 
_.Library.Status IsValid (_, _.Library.RawString val)
 Tests if the logical value val, which is a floating point value, is valid. More...
 
_.Library.String LogicalToDisplay (_, _.Library.Float val)
 Converts the value of val, which is in logical floating point format, into a display string. More...
 
_.Library.String LogicalToJSON (_, _.Library.Float val)
 Converts the Objectscript value to the JSON number value.
 
_.Library.Float Normalize (_, _.Library.RawString val)
 Converts val to a normalized value.
 
_.Library.Float XSDToLogical (_, _.Library.String val)
 Converts the SOAP encoded input decimal value into a logical value. More...
 

Static Public Attributes

 JSONTYPE = None
 This data type represents a floating point number. More...
 
 XSDTYPE = None
 Declares the XSD type used when projecting XML schemas.
 
- Static Public Attributes inherited from Float
 DISPLAYLIST = None
 Used for enumerated (multiple-choice) attributes. More...
 
 FORMAT = None
 The format specification for the data type's display value. More...
 
 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...
 
 XSDTYPE = None
 Declares the XSD type used when projecting XML Schemas.
 
- Static Public Attributes inherited from DataType
 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...
 

Detailed Description

This data type represents a floating point number.

Internally, it is stored as a floating point value.

Member Function Documentation

◆ IsValid()

_.Library.Status IsValid (   _,
_.Library.RawString  val 
)
static

Tests if the logical value val, which is a floating point value, is valid.

The validation is based on the class parameter settings used for the class attribute this data type is associated with. In this case, MAXVAL and MINVAL.

◆ XSDToLogical()

_.Library.Float XSDToLogical (   _,
_.Library.String  val 
)
static

Converts the SOAP encoded input decimal value into a logical value.

Also supports the XML values of -0, INF, -INF and NaN which are stored as strings. Returns "" for error.

Member Data Documentation

◆ JSONTYPE

JSONTYPE = None
static

This data type represents a floating point number.

Internally, it is stored as a floating point value.