bootstrap-rating.js
function (index) {
      return this.options.start + Math.floor(index) * this.options.step +
        this.options.step * this._roundToFraction(index % 1);
    }
function (index) {
      return this.options.start + Math.floor(index) * this.options.step +
        this.options.step * this._roundToFraction(index % 1);
    }
function ( index ) { return this . options . start + Math . floor ( index ) * this . options . step + this . options . step * this . _roundToFraction ( index % 1 ) ; }
Calculate the rate of an index according the the start and step.
Calculate the rate of an index according the the start and step .