Decimal format: #,#.00#;(#,#.00#)
Imports System
Imports Microsoft.VisualBasic
Module MainClass
Sub Main( )
Dim value As Decimal = 99999.62d
Dim specifier As String
specifier = "#,#.00#;(#,#.00#)"
Console.WriteLine("{0}: {1}", specifier, (value*-1).ToString(specifier))
End Sub
End Module
Related examples in the same category