chaijs/chai-stats — pull request #1 by josher19 (2012-05-16 10:26:14+00:00)
Title: Allow 0 decimal places (rounding) in almost.equal

When precision is null or undefined, default to 7 decimal places
When precision is 0, round to nearest integer number.

Will add some tests:
expect(3.1415).to.almost.equal(3, 0); // 0 => rounding
expect(3.1415).to.not.almost.equal(3); // undefined => 7 decimal places
expect(5.8).to.almost.equal(6, 0); // 0 => rounding