I'm formatting a number as a percentage using the current culture info by doing:
string.Format(CultureInfo.CurrentCulture, "{0:P}", num / 100);
I've tried de-DE and en-US. In the region settings, the number of decimal places is 2. However, the above formatting results in 3 decimal places.
Why is this happening and how do I correctly format the number based on the culture's number format?