Code example for NumberFormat

Methods: parse

0
			 
			@Override 
			public void onTextChanged(CharSequence s, int start, int before, int count) {
				Number val = null;
				try { 
					val = (Number) nf.parse(s.toString());
					theMatrix.set(_pos, val.doubleValue());
				} catch (ParseException e) {
					e.printStackTrace();
				} 
			} 
			 
			@Override 
			public void beforeTextChanged(CharSequence s, int start, int count,
					int after) {
				 
			} 
			 
			@Override 
			public void afterTextChanged(Editable s) {