Github user tbouron commented on a diff in the pull request:

    https://github.com/apache/brooklyn-ui/pull/96#discussion_r230342731
  
    --- Diff: 
ui-modules/blueprint-composer/app/components/catalog-selector/catalog-selector.template.html
 ---
    @@ -157,6 +157,7 @@ <h3>{{freeFormTile | entityName}}</h3>
                     <span ng-repeat-start="tag in item.displayTags" 
class="label label-primary palette-item-tag">{{ tag }}</span>
                     <span ng-repeat-end> </span> </p>
                 <p><i class="mini-icon fa fa-fw fa-file-zip-o"></i> 
{{item.containingBundle}}</p>
    +            <p ng-if="item.relevance"><i class="mini-icon fa 
fa-sort-numeric-asc"></i> Relevance score: {{ roundTwoDecimals(item.relevance) 
}}</p>
    --- End diff --
    
    Use the `number` filter instead: 
https://docs.angularjs.org/api/ng/filter/number


---

Reply via email to