News for hackers. Stuff that matters.
Re:My weekend project: accounting.js, tiny JS library for mo... by cdsanchez on Sunday August 21, 2011 @02:39PM (#2909853)
I think it'd also be useful if you included an enumeration of the common currency symbols. For example, accounting.DOLLAR, accounting.EURO, etc.
Re:My weekend project: accounting.js, tiny JS library for mo... by josscrowcroft on Sunday August 21, 2011 @09:19PM (#2910873)
Yeah, that could work actually - I've purposefully left everything to do with symbols (apart from the standard dollar sign) up to the developer, to avoid bloat, but I can see a use case for the most common ones (along with default formatting for said symbols)