LiquidTechnologies.XmlObjects Namespace / BigDecimal Structure / ToString Method / ToString(String,CultureInfo) Method
'e' for exponent format 'd' for decimal format (default) OTHER FORMATTERS HAVE LIMITED FUNCTIONALITY - USE WITH CARE In addition the formatting rules are described in Standard numeric format strings and Custom numeric format strings can be used BUT ONLY IF THE VALUE CAN BE HELD INSIDE A System.Decimal. IF THE VALUE IS TO LARGE IT WILL THROW AN System.OverflowException.

In This Topic
    ToString(String,CultureInfo) Method
    In This Topic
    Gets the string representation of the BigDecimal
    Syntax
    'Declaration
     
    
    Public Overloads Function ToString( _
       ByVal format As System.String, _
       ByVal cultureInfo As System.Globalization.CultureInfo _
    ) As System.String
    public System.string ToString( 
       System.string format,
       System.Globalization.CultureInfo cultureInfo
    )

    Parameters

    format
    'e' for exponent format 'd' for decimal format (default) OTHER FORMATTERS HAVE LIMITED FUNCTIONALITY - USE WITH CARE In addition the formatting rules are described in Standard numeric format strings and Custom numeric format strings can be used BUT ONLY IF THE VALUE CAN BE HELD INSIDE A System.Decimal. IF THE VALUE IS TO LARGE IT WILL THROW AN System.OverflowException.
    cultureInfo

    Return Value

    The string representation of the BigDecimal
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows Server 2016, Windows Server 2012, Windows Server 2008. Please ensure you have the latest Service Pack for your operating system installed.

    See Also