%xsd.float
Class %xsd.float Extends %Float [ Not ProcedureBlock, System = 2 ]
This data type represents a floating point number. Internally, it is stored as a floating point value.
Parameters
XSDTYPE
Parameter XSDTYPE = "float";
Declares the XSD type used when projecting XML schemas.
JSONTYPE
Parameter JSONTYPE = "double";
Methods
XSDToLogical
ClassMethod XSDToLogical(%val As %String) As %Float [ CodeMode = generator ]
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.
IsValid
ClassMethod IsValid(%val As %RawString) As %Status [ CodeMode = generator, GenerateAfter = IsValidDT ]
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.