all files / app/helpers/ round.js

100% Statements 31/31
100% Branches 16/16
100% Functions 4/4
100% Lines 3/3
20 statements, 1 function, 13 branches Ignored     
1 2 3 4 5 6 7 8 9 10 11 12          201×          
import {helper} from 'ember-helper'
import _ from 'npm:lodash'
 
 
 
export function round ([value, precision = 0]/*, hash*/) {
  return _.round(value, precision)
}
 
export default helper(round)