System::Globalization::NumberFormatInfo::set_CurrencyNegativePattern 方法
NumberFormatInfo::set_CurrencyNegativePattern method
设置货币负数模式。
void System::Globalization::NumberFormatInfo::set_CurrencyNegativePattern(int value)
| 参数 | 类型 | 描述 |
|---|---|---|
| 值 | int | 数组中模式的索引 {"($n)", “-$n”, “$-n”, “$n-”, “(n$)”, “-n$”, “n-$”, “n$-”, “-n $”, “-$ n”, “n $-”, “$ n-”, “$ -n”, “n- $”, “($ n)”, “(n $)"},其中 “n” 代表数字,”-" 代表负号,"$" 代表货币符号。 |
另见
- Class NumberFormatInfo
- Namespace System::Globalization
- Library Aspose.Font for C++