DecimalFormat - keep all decimal numbers
问题 I'm using DecimalFormat to format doubles into a String. This String is then integrated into my presentation layer. Problem : I want to keep ALL decimals. Example: "12345678.123456789" Question : What format should I use? Remark : I use a different Locale to support multiple layouts. Format: #.## -> This uses ALL numbers BEFORE the decimal, but ROUNDS the numbers AFTER the decimal. I could use #.######### for the big decimal, but what if the decimal is even longer? I found my small test