bfui/accounting.js — pull request #1 by bfui (2013-09-17 20:39:29+00:00)
Title: Add an option to return NaN for invalid numbers.

Adds a third param to unformat() called options such that if
options.returnNaN is truthy a NaN will be returned instead of zero.