I\'m trying to get rid of unnecessary symbols after decimal seperator of my double value. I\'m doing it this way:
DecimalFormat format = new DecimalFormat(\"
Use Locale.getDefault() to get your system's decimal separator which you can also set. You can't have two different separators at the same time since the other is then usually used as the separator for thousands: 2.001.000,23 <=> 2,001,000.23
Locale.getDefault()
2.001.000,23 <=> 2,001,000.23