This post originated from an RSS feed registered with Java Buzz
by Chris Winters.
Original Post: Formatting numbers in Javascript
Feed Title: cwinters.com
Feed URL: http://www.cwinters.com/search/registrar.php?domain=jroller.com®istrar=sedopark
Feed Description: Chris Winters on Java, programming and technology, usually in that order.
JavaScript Formatting Methods - It always amazes me how mainstream languages (like Java and JavaScript) can totally ignore printf/sprintf, or make the same functionality such a PITA to use that you wind up immplementing a half-assed version of it so you can concisely do what you need.
Anyway, this library seems to work pretty well, even though it's six years old...