Use Math.round() instead of Math.ceil() to match AngularJS.
Merge pull request #244 from nmrugg/master

Use Math.round() instead of Math.ceil() to match AngularJS.