System.Globalization Namespace NumberFormatInfo Class
Sets or retrieves the format pattern for negative currency values.
[ VB ] public Property CurrencyNegativePattern As Integer [ C# ] public int CurrencyNegativePattern {get; set;} [ C++ ] public: __property int get_CurrencyNegativePattern ( ); public: __property void set_CurrencyNegativePattern ( int ); [ JScript ] function get CurrencyNegativePattern ( ) : int; public function set CurrencyNegativePattern ( int );
The format pattern for negative currency values. The default for InvariantInfo is 0, which represents " ( $n ) ", where "$" is the CurrencySymbol and n is a number.
This property can have one of the values in the following table. The symbol "$" is the CurrencySymbol, the symbol "-" is the NegativeSign, and n is a number.
The below shows the CurrencyNegativePattern used for each of the available cultures.
Show me
NumberFormatInfo Members CurrencyDecimalDigits CurrencyDecimalSeparator CurrencyGroupSeparator CurrencyGroupSizes CurrencySymbol CurrencyPositivePattern NumberNegativePattern PercentNegativePattern
© 2000-2010 Rey Nuñez All rights reserved.If you have any question, comment or suggestion about this site, please send us a note
You can help support asp.net.ph