Gemstone Common Library
Show/Hide TOC

# VolumeToString(IFormatProvider) Method

Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.

## Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.162 -- Release Build+f11797ef017301be20d4b9376f78ac29ba38c21a
C#
View Source Request Example

    public string ToString(
    	IFormatProvider? provider
    )

VB
View Source Request Example

    Public Function ToString (
    	provider As IFormatProvider
    ) As String

C++
View Source Request Example

    public:
    virtual String^ ToString(
    	IFormatProvider^ provider
    ) sealed

JavaScript
View Source Request Example

    function ToString(provider);

#### Parameters

provider IFormatProvider
  A IFormatProvider that supplies culture-specific formatting information.

#### Return Value

String
The string representation of the value of this instance as specified by provider.

#### Implements

IConvertibleToString(IFormatProvider)

## See Also

#### Reference

Volume Structure
ToString Overload
Gemstone.Units Namespace