Locale.getNegativePosition

Overview | Methods | This Package | All Packages

Locale.getNegativePosition

Retrieves the formatting index for negative values.

Syntax

public int getNegativePosition()

Return Value

Returns an integer value that represents the formatting index for negative values.

Remarks

The index value returned by this method can be one of the following values:

Value Description
0 Parentheses surround the amount and the monetary symbol.
1 The sign string precedes the amount and the monetary symbol.
2 The sign string succeeds the amount and the monetary symbol.
3 The sign string immediately precedes the monetary symbol.
4 The sign string immediately succeeds the monetary symbol.

See Also   getPostivePosition