Soap.XSBuiltIns.TXSDecimal.DecimalString

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property  DecimalString: string read FDecimalString write FDecimalString;

C++

__property System::UnicodeString DecimalString = {read=FDecimalString, write=FDecimalString};

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 string.

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.

See Also