Skip to main content

HS.HC.DataType.SysEnvVar.Double

datatype class HS.HC.DataType.SysEnvVar.Double extends %Library.String, %Library.Double

ODBC Type: VARCHAR

Can be a double OR a system environment variable.

Method Inventory

Parameters

parameter JSONTYPE = string;
Always use string since for UI we want to always have this be a string since HTML input element converts value to string even if it has type="number"

Methods

classmethod IsValid(pValue As %String) as %Status
Inherited description: 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 JSONToLogical(pValue As %String) as %String
Inherited description: Converts the JSON input decimal value into a Objectscript IEEE floating point value. Returns "" for error.

Inherited Members

Inherited Methods

FeedbackOpens in a new tab