Locale.setNegativeNumberMode

Overview | Methods | This Package | All Packages

Locale.setNegativeNumberMode

Sets the format to use to display negative numbers.

Syntax

public void setNegativeNumberMode( int value )

Parameters

value

An integer value representing one of the negative number modes.

Remarks

This method takes a negative number mode from the following table:

Value Description
0 (1.1)
1 -1.1
2 - 1.1
3 1.1-
4 1.1 -

See Also   Locale.NegativeNumberMode, getNegativeNumberMode