JavaScript: Format number/currency w/regards to culture like .NET's String.Format()?
问题 This seems like a problem someone would've already solved in the year 2009, but I can't find a decent JavaScript library that will take a number like: 12345.58 And format it correctly based on a specific culture (ie, "nl-nl") or ISO currency code. dojo showed promise, but it doesn't include many cultures by default, and actually wasn't working properly in my tests. I basically want something that is 100% or near-100% equivalent to what .NET does for me, when I run: String.Format([cultureInfo