Partager via


NegNumberMode Property

The NegNumberMode property of the SPRegionalSettings class gets the negative number mode that is used for displaying negative numbers in calculated fields based on the locale of the server.

Property Value

An unsigned 32-bit integer that indicates the negative number mode.

Remarks

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 -

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security