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