Soap.XSBuiltIns.TXSDecimal.AsBcd

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property  AsBcd: TBcd read GetAsBcd write SetAsBcd;

C++

__property Data::Fmtbcd::TBcd AsBcd = {read=GetAsBcd, write=SetAsBcd};

Properties

Type Visibility Source Unit Parent
property public
Soap.XSBuiltIns.pas
Soap.XSBuiltIns.hpp
Soap.XSBuiltIns TXSDecimal

Description

Represents the object's value as a TBcd value.

Use AsBcd to get or set this object's value as a TBcd type. TXSDecimal converts between the internal string representation that is the value of the DecimalString property and a TBcd value when the application gets or sets this property. Thus, if the string representation is ill-formed, reading AsBcd can cause an EXSDecimalException exception. Similarly, setting AsBcd can cause an EXSDecimalException exception if the TBcd value has an invalid scale or precision.

See Also