This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (login required).

%xsd.float

datatype class %xsd.float extends %Library.Float

ODBC Type: DOUBLE

This data type represents a floating point number. Internally, it is stored as a floating point value.

Method Inventory (Including Private)

Parameters

parameter XSDTYPE = float;
Declares the XSD type used when projecting XML schemas.

Methods (Including Private)

classmethod IsValid(%val As %CacheString) as %Status
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.
classmethod XSDToLogical(%val As %String) as %Float
Converts the SOAP encoded input decimal value into a Cache numeric value. Also supports the XML values of -0, INF, -INF and NaN which are stored as strings. Returns "" for error.

Inherited Members

Inherited Methods (Including Private)

Subclasses

FeedbackOpens in a new window