Sha256: ceece734294f401e0fd807d2c34431250ae6808cf50ea38bf7f0534942d476d1

Contents?: true

Size: 402 Bytes

Versions: 204

Compression:

Stored size: 402 Bytes

Contents

(function () {
    /**
     * @ngdoc filter
     * @name Bastion.utils.filter:roundUp
     *
     * @description
     *  Converts an ng-model to a number.
     *
     * @example
     *   {{ 107.5 | roundUp }}
     */

    function roundUp() {
        return function (value) {
            return Math.ceil(value);
        };
    }

    angular.module('Bastion.utils').filter('roundUp', roundUp);
})();

Version data entries

204 entries across 204 versions & 2 rubygems

Version Path
katello-4.14.2 engines/bastion/app/assets/javascripts/bastion/utils/round-up.filter.js
katello-4.15.0 engines/bastion/app/assets/javascripts/bastion/utils/round-up.filter.js
katello-4.15.0.rc2 engines/bastion/app/assets/javascripts/bastion/utils/round-up.filter.js
katello-4.15.0.rc1 engines/bastion/app/assets/javascripts/bastion/utils/round-up.filter.js
katello-4.14.1 engines/bastion/app/assets/javascripts/bastion/utils/round-up.filter.js
katello-4.14.0 engines/bastion/app/assets/javascripts/bastion/utils/round-up.filter.js
katello-4.14.0.rc3 engines/bastion/app/assets/javascripts/bastion/utils/round-up.filter.js
katello-4.14.0.rc2 engines/bastion/app/assets/javascripts/bastion/utils/round-up.filter.js
katello-4.14.0.rc1.1 engines/bastion/app/assets/javascripts/bastion/utils/round-up.filter.js
katello-4.14.0.rc1 engines/bastion/app/assets/javascripts/bastion/utils/round-up.filter.js
katello-4.13.1 engines/bastion/app/assets/javascripts/bastion/utils/round-up.filter.js
katello-4.13.0 engines/bastion/app/assets/javascripts/bastion/utils/round-up.filter.js
katello-4.12.1 engines/bastion/app/assets/javascripts/bastion/utils/round-up.filter.js
katello-4.13.0.rc1 engines/bastion/app/assets/javascripts/bastion/utils/round-up.filter.js
katello-4.12.0 engines/bastion/app/assets/javascripts/bastion/utils/round-up.filter.js
katello-4.12.0.rc3 engines/bastion/app/assets/javascripts/bastion/utils/round-up.filter.js
katello-4.12.0.rc2 engines/bastion/app/assets/javascripts/bastion/utils/round-up.filter.js
katello-4.12.0.rc1 engines/bastion/app/assets/javascripts/bastion/utils/round-up.filter.js
katello-4.11.1 engines/bastion/app/assets/javascripts/bastion/utils/round-up.filter.js
katello-4.11.0 engines/bastion/app/assets/javascripts/bastion/utils/round-up.filter.js