This document is archived and information here might be outdated.  Recommended version.


INumberFormat.ValueToString Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IN > INumberFormat Interface > INumberFormat.ValueToString Method
ArcGIS Developer Help

INumberFormat.ValueToString Method

Converts a numeric value to a formatted string.

[Visual Basic .NET]
Public Function ValueToString ( _
    ByVal Value As Double _
) As String
[C#]
public string ValueToString (
    double Value
);
[C++]
HRESULT ValueToString(
  double Value
);
[C++]
Parameters
Value [in]

Value is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

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.

See Also

INumberFormat Interface | CurrencyFormat Class | IScientificNumberFormat Interface | FractionFormat Class | IPercentageFormat Interface | INumericFormat Interface | IFractionFormat Interface | NumericFormat Class | IAngleFormat Interface | LatLonFormat Class | ICustomNumberFormat Interface | PercentageFormat Class | ILatLonFormat2 Interface | ILatLonFormat Interface | RateFormat Class | IRateFormat Interface | CustomNumberFormat Class | INumberFormat Interface | ScientificFormat Class | AngleFormat Class