RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXSDecimal.DecimalString Property

Represents the object's value as a string.

Pascal
property DecimalString: string;
C++
__property AnsiString DecimalString;

Use DecimalString to obtain the value of the TXSDecimal object as a string. This value is the same as the string that appears in XML documents to represent the decimal value. To work with this object's value as a TBcd value, use the AsBcd property instead.

Note: If you do not need the precision of binary-coded decimal values, you can use global functions such as StrToFloat and FloatToStr or StrToCurr and CurrToStr to convert this string to a floating-point representation.
 

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