Class TXQValueDecimal

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TXQValueDecimal = class(TXQValue)

Description

BigDecimal value (almost unlimited decimal floating number a*10ˆb for a,b \in \mathbb{Z})

Hierarchy

  • TInterfacedObject
  • TXQValue
  • TXQValueDecimal

Overview

Fields

Public value: BigDecimal;

Methods

Public constructor create(const v: BigDecimal); reintroduce; virtual;
Public constructor create(atypeannotation: TXSType; const v: BigDecimal); reintroduce; virtual;
Public constructor create(atypeAnnotation: TXSType; const avalue: IXQValue); override;
Public destructor Destroy; override;
Public class function classKind: TXQValueKind; override;
Public function toBoolean: boolean; override;
Public function toInt64: Int64; override;
Public function toDecimal: BigDecimal; override;
Public function toFloatChecked(scontext: TXQStaticContext): xqfloat; override;
Public function toString: string; override;
Public function toDateTime: TDateTime; override;
Public function jsonSerialize(nodeFormat: TTreeNodeSerialization; insertWhitespace: boolean = false; const indent: string = ''): string; override;
Public function clone: IXQValue; override;

Description

Fields

Public value: BigDecimal;
 

Methods

Public constructor create(const v: BigDecimal); reintroduce; virtual;
 
Public constructor create(atypeannotation: TXSType; const v: BigDecimal); reintroduce; virtual;
 
Public constructor create(atypeAnnotation: TXSType; const avalue: IXQValue); override;
 
Public destructor Destroy; override;
 
Public class function classKind: TXQValueKind; override;
 
Public function toBoolean: boolean; override;

Converts the TXQValue dynamically to boolean

Public function toInt64: Int64; override;

Converts the TXQValue dynamically to integer

Public function toDecimal: BigDecimal; override;

Converts the TXQValue dynamically to BigDecimal

Public function toFloatChecked(scontext: TXQStaticContext): xqfloat; override;
 
Public function toString: string; override;

Converts the TXQValue dynamically to string

Public function toDateTime: TDateTime; override;

Converts the TXQValue dynamically to TDateTime

Public function jsonSerialize(nodeFormat: TTreeNodeSerialization; insertWhitespace: boolean = false; const indent: string = ''): string; override;
 
Public function clone: IXQValue; override;
 

Generated by PasDoc 0.14.0.