bower_components/ion.rangeSlider/js/ion.rangeSlider.js
function (percent) {
            var min = this.options.min,
                max = this.options.max,
                min_decimals = min.toString().split(".")[1],
                max_decimals = max.toString().split(".")[1],
                min_length, max_length,
                avg_decimals = 0,
                abs = 0;

            if (percent === 0) {
                return this.options.min;
            }
            if (percent === 100) {
                return this.options.max;
            }


            if (min_decimals) {
                min_length = min_decimals.length;
                avg_decimals = min_length;
            }
            if (max_decimals) {
                max_length = max_decimals.length;
                avg_decimals = max_length;
            }
            if (min_length && max_length) {
                avg_decimals = (min_length >= max_length) ? min_length : max_length;
            }

            if (min < 0) {
                abs = Math.abs(min);
                min = +(min + abs).toFixed(avg_decimals);
                max = +(max + abs).toFixed(avg_decimals);
            }

            var number = ((max - min) / 100 * percent) + min,
                string = this.options.step.toString().split(".")[1],
                result;

            if (string) {
                number = +number.toFixed(string.length);
            } else {
                number = number / this.options.step;
                number = number * this.options.step;

                number = +number.toFixed(0);
            }

            if (abs) {
                number -= abs;
            }

            if (string) {
                result = +number.toFixed(string.length);
            } else {
                result = this.toFixed(number);
            }

            if (result < this.options.min) {
                result = this.options.min;
            } else if (result > this.options.max) {
                result = this.options.max;
            }

            return result;
        }
function (percent) {
            var min = this.options.min,
                max = this.options.max,
                min_decimals = min.toString().split(".")[1],
                max_decimals = max.toString().split(".")[1],
                min_length, max_length,
                avg_decimals = 0,
                abs = 0;

            if (percent === 0) {
                return this.options.min;
            }
            if (percent === 100) {
                return this.options.max;
            }


            if (min_decimals) {
                min_length = min_decimals.length;
                avg_decimals = min_length;
            }
            if (max_decimals) {
                max_length = max_decimals.length;
                avg_decimals = max_length;
            }
            if (min_length && max_length) {
                avg_decimals = (min_length >= max_length) ? min_length : max_length;
            }

            if (min < 0) {
                abs = Math.abs(min);
                min = +(min + abs).toFixed(avg_decimals);
                max = +(max + abs).toFixed(avg_decimals);
            }

            var number = ((max - min) / 100 * percent) + min,
                string = this.options.step.toString().split(".")[1],
                result;

            if (string) {
                number = +number.toFixed(string.length);
            } else {
                number = number / this.options.step;
                number = number * this.options.step;

                number = +number.toFixed(0);
            }

            if (abs) {
                number -= abs;
            }

            if (string) {
                result = +number.toFixed(string.length);
            } else {
                result = this.toFixed(number);
            }

            if (result < this.options.min) {
                result = this.options.min;
            } else if (result > this.options.max) {
                result = this.options.max;
            }

            return result;
        }
function ( percent ) { var min = this . options . min , max = this . options . max , min_decimals = min . toString ( ) . split ( "." ) [ 1 ] , max_decimals = max . toString ( ) . split ( "." ) [ 1 ] , min_length , max_length , avg_decimals = 0 , abs = 0 ; if ( percent === 0 ) { return this . options . min ; } if ( percent === 100 ) { return this . options . max ; } if ( min_decimals ) { min_length = min_decimals . length ; avg_decimals = min_length ; } if ( max_decimals ) { max_length = max_decimals . length ; avg_decimals = max_length ; } if ( min_length && max_length ) { avg_decimals = ( min_length >= max_length ) ? min_length : max_length ; } if ( min < 0 ) { abs = Math . abs ( min ) ; min = + ( min + abs ) . toFixed ( avg_decimals ) ; max = + ( max + abs ) . toFixed ( avg_decimals ) ; } var number = ( ( max - min ) / 100 * percent ) + min , string = this . options . step . toString ( ) . split ( "." ) [ 1 ] , result ; if ( string ) { number = + number . toFixed ( string . length ) ; } else { number = number / this . options . step ; number = number * this . options . step ; number = + number . toFixed ( 0 ) ; } if ( abs ) { number -= abs ; } if ( string ) { result = + number . toFixed ( string . length ) ; } else { result = this . toFixed ( number ) ; } if ( result < this . options . min ) { result = this . options . min ; } else if ( result > this . options . max ) { result = this . options . max ; } return result ; }
Convert percent to real values

@param percent {Number} X in percent
@returns {Number} X in real
Convert percent to real values