Pretty floating point calculation results for Angular.
Take a look at the demo
Using bower:
$ bower install angular-floating-point --save
angular.module('myApp', ['floatingPoint']).
controller('myCtrl', function(floatingPoint) {
var uglyResult = 6.1 * 6; //36.599999999999994
var prettyResult = floatingPoint.makePretty(6.1 * 6); //36.6
}
);