SPRegionalSettings.NegNumberMode Property
Gets the negative number mode that is used for displaying negative numbers in calculated fields based on the locale of the server.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Property Value
Type: System.UInt32An unsigned 32-bit integer that indicates the negative number mode.
The NegNumberMode property contains one of the values listed in the following table, depending on the regional settings for the site.
|
Value |
Description |
Example |
|---|---|---|
|
0 |
Parentheses contain the number. |
(1.1) |
|
1 |
Placed before the number. |
-1.1 |
|
2 |
Placed before the number with extra space. |
- 1.1 |
|
3 |
Placed after the number. |
1.1- |
|
4 |
Placed after the number with extra space. |
1.1 - |