Mega Code Archive

 
Categories / VB.Net / Data Types
 

Display negative value using the de-DE culture

Imports System.Globalization Module Example    Public Sub Main()         Dim value As Single                   value = -123456.62015         Console.WriteLine(value.ToString(CultureInfo.CreateSpecificCulture("de-DE")))     End Sub End Module