josscrowcroft/accounting.js — pull request #57 by aschepis (2013-01-16 00:30:02+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.