A DecimalValue is a encoded as an xs:complexType wit the following XML schema:
<xs:complexType name="Decimal">
<xs:sequence>
<xs:element name="TypeId" type="tns:NodeId" minOccurs="0" />
<xs:element name="Body" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Scale" type="xs:unsignedShort" />
<xs:element name="Value" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
The NodeIdis always the NodeIdof the Decimal DataType. When encoded in a Variantthe Decimalis encoded as an ExtensionObject. Arrays of Decimalsare Arraysof ExtensionObjects.
The Valueis a base-10 signed integer with no limit on size. See 5.1.7for a description of the Scaleand Valuefields.