Converts a numeric value to a formatted string.
[Visual Basic 6.0] Function ValueToString(
ByVal Value As Double _
) As String
[Visual Basic .NET] Public Function ValueToString ( _ ByVal Value As Double _ ) As String
[C#] public string ValueToString ( double Value );
[Java] public String valueToString ( double Value ) throws IOException, AutomationException
[C++]
HRESULT ValueToString(
double Value,
BSTR* str
);
Parameters
Value [in]
Value is a parameter of type double
str [out, retval]
str is a parameter of type BSTR
The ValueToString method expresses a numeric value as a formatted string. The string is formatted based on the property settings of the number formatting interface that is used. See the particular number formatting interface you're interested in under See Also above for more information.
INumberFormat Interface | IFractionFormat Interface | AngleFormat Class | IAngleFormat Interface | IPercentageFormat Interface | ICustomNumberFormat Interface | CurrencyFormat Class | LatLonFormat Class | FractionFormat Class | IRateFormat Interface | RateFormat Class | ILatLonFormat2 Interface | NumericFormat Class | CustomNumberFormat Class | INumericFormat Interface | PercentageFormat Class | IScientificNumberFormat Interface | ILatLonFormat Interface | INumberFormat Interface | ScientificFormat Class