Is it possible to have an obligatory sign in mantissa?
For example I would like to get 0.01 and 1040.3 formatted using the same DecimalFormat as: 1.00000e-002 and 1.040300e+003
At the moment I'm using:
DecimalFormatSymbols otherSymbols = new DecimalFormatSymbols(Locale.getDefault() );
otherSymbols.setDecimalSeparator('.');
otherSymbols.setExponentSeparator("e");
format="0.00000E000";
DecimalFormat formatter = new DecimalFormat(format, otherSymbols);
but this pattern fails to display '+' in mantissa.