ToString(String,CultureInfo) Method
Gets the string representation of the
BigDecimal
public System.string ToString(
System.string ,
System.Globalization.CultureInfo
)
'Declaration
Public Overloads Function ToString( _
ByVal As System.String, _
ByVal As System.Globalization.CultureInfo _
) As System.String
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
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.