jquery/globalize — pull request #283 by baohouse (2014-07-26 20:29:46+00:00)
Title: formatNumber to accept maximumFractionDigits=0

Logic error in the options processing that prevent
maximumFractionDigits=0 from being passed into internal methods
properly, resulting in maximumFractionDigits being set to default
value. Fixed the logic and added tests to ensure fraction truncation.

```Globalize.formatNumber(3.14159, {maximumFractionDigits: 0}) === "3"```