if("undefined"===typeof components)var components=angular.module("components",[]);components.filter("integral",function(){return function(b){return parseInt(b)}});components.filter("fractional",function(){return function(b,a){a="undefined"===typeof a?2:parseInt(a);return(b%1).toFixed(a).substr(2)}});