Code example for DecimalFormat

Methods: getDecimalFormatSymbols

0
    } 
 
    @Override 
	public void onTextChanged(CharSequence s, int start, int before, int count)
    { 
	if (s.toString().contains(String.valueOf(df.getDecimalFormatSymbols().getDecimalSeparator())))
	    { 
		hasFractionalPart = true;
	    } else { 
	    hasFractionalPart = false;
	} 
    } 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE