adamwdraper/Numeral-js — pull request #98 by natabbotts (2013-10-19 22:25:24+00:00)
Title: Patch for Issue #97 - Numeral.js should expose a mechanism to control rounding behaviour.

An optional argument has been added to Numeral.format, to pass in a custom rounding function. If not given, it defaults to Math.round as before to maintain perfect backwards compatibility.

Tests have been added to verify it works with Math.floor and Math.ceil in a reasonable selection of cases.