Try to fix buggy input event on IE9
Started to add correct treatment of significant figures