List of usage examples for java.text DecimalFormat setPositiveSuffix
public void setPositiveSuffix(String newValue)
From source file:Main.java
public static void main(String[] argv) throws Exception { DecimalFormat format = new DecimalFormat(); format.setPositiveSuffix("Positive"); System.out.println(format.format(123456789.12345678)); }