code: function( val ) {
  		if ( val <= this._valueMin() ) {
  			return this._valueMin();
  		}
  		if ( val >= this._valueMax() ) {
  			return this._valueMax();
  		}
  		var step = ( this.options.step > 0 ) ? this.options.step : 1,
  			valModStep = (val - this._valueMin()) % step,
  			alignValue = val - valModStep;
  
  		if ( Math.abs(valModStep) * 2 >= step ) {
  			alignValue += ( valModStep > 0 ) ? step : ( -step );
  		}
  
  		// Since JavaScript has problems with large floats, round
  		// the final value to 5 digits after the decimal point (see #4124)
  		return parseFloat( alignValue.toFixed(5) );
  	}
docs: returns the step-aligned value that val is closest to, between (inclusive) min and max