create a method ONLY TO GET a decimal separator... do this I dont need recreate the code

Code:
Constants constants = LocaleInfo.getCurrentLocale().getNumberConstants();
String decimalSeparator = constants.decimalSeparator();