Reputation: 24052
value.ToString("##0.00000%;(##0.00000%);0.00000%");
I'm having trouble deciphering how this is being formatted. Would it ever display a value above that would be .00001 lower than the correct rounding, or if the number would just to be truncated at 5 decimal places?
Thanks guys.
Upvotes: 1
Views: 158
Reputation: 74187
it rounds in the conventional way (e.g. 1-4 rounds down and 5-9 rounds up).
Upvotes: 1