When converting doubles to a String and requesting a specific number of decimals, the code appear to be entirely platform independent,
so this bug should show up everywhere. For example, how does the following String look:
[quote=“Joerg Koehler”]I also noticed a big performance lack if I do this conversion on Windows 7.
Mac was fine but then I switched to Windows and had this issue.
Could it have something to do with this?[/quote]
Can’t think why there’d be a performance issue… If there’s a difference on Windows then it’s probably something to do with MS’s sprintf implementation.
Just double checked but can’t reproduce anymore.
Was a while ago when i noticed that and if my brain serves me well,
it only happened when I skip passing numberOfDecimalPlaces.