Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

tostring vb.net format decimal value with comma

Dim dblValue As Double = -12445.6789
Console.WriteLine(dblValue.ToString("N", CultureInfo.InvariantCulture))
' Displays -12,445.68
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #tostring #format #decimal #comma
ADD COMMENT
Topic
Name
1+5 =