---
title: "System::Globalization::NumberFormatInfo::set_PercentNegativePattern method"
url: "https://reference.aspose.com/font/cpp/system.globalization/numberformatinfo/set_percentnegativepattern/"
product: "Aspose.Font for C++"
description: "System::Globalization::NumberFormatInfo::set_PercentNegativePattern method. Sets percent negative pattern in C++."
---

## NumberFormatInfo::set_PercentNegativePattern method


Sets percent negative pattern.

```cpp
void System::Globalization::NumberFormatInfo::set_PercentNegativePattern(int value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | int | Index of the pattern in array {"-n %", "-n%", "-%n", "%-n", "%n-", "n-%", "n%-", "-% n", "n %-", "% n-", "% -n", "n- %"}, where "n" is number, "%" is percent sign and "-" is minus sign. |

## See Also

* Class [NumberFormatInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Font for C++](../../../)
