RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXSDecimal.AsBcd Property

Represents the object's value as a TBcd value.

Pascal
property AsBcd: TBcd;
C++
__property TBcd AsBcd;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!