Hi guys, I need to show thousands separator and decimal separator of a number input by user, currently I’m using DecimalFormat and it works well if I specific a pattern, ex: “#,###.###“. But for me as a user when I input whatever number I want that number must keep its original format, ex: 123,456.789012345678, in this case my pattern can’t satisfy, so how can I keep all numbers behind the decimal separator “.”?
stackoverflow 1
🧌 2
😶 3
google 3