code: function updatedec(){
    var dec = decinputfield;
    if(decinputvalue != dec){
      updateall(decinputtobin(dec));
      clearallinputs();
      decinputfield = dec;
      decinputvalue = dec;
    }
  }
docs: The decimal input field has been changed