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