"Sean" <Sean@discussions.microsoft.com> wrote in message
news:2A7AA314-CB04-49E6-8C85-EF692EB4DC1E@microsoft.com...
> Yet here (
http://msdn2.microsoft.com/en-us/library/dwhawy9k(VS.80).aspx)
> it
> has no spaces. But I was looking into PercentPattern, and it seems like
> solution to my question resides there
> (
http://msdn2.microsoft.com/en-us/library/system.globalization.numberformatinfo.percentpositivepattern(VS.80).aspx).
>
> "Alexey Smirnov" wrote:
>
>> hmm, I see, for example, here that for en-US they use a space in between
>>
>>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemGlobalizationNumberFormatInfoClassPercentGroupSeparatorTopic.asp
>>
>>
>>
>> "Sean" <Sean@discussions.microsoft.com> wrote in message
>> news:8D30DE63-CFE8-4157-B283-8B2C181D93ED@microsoft.com...
>> > Hi,
>> >
>> > I'm running into issue using culture specific percentage value
>> > formatting
>> > using .Format("P).
>> >
>> > My code is:
>> >
>> > NumberFormatInfo.nfi = new CultureInfo("en-US").NumberFormat;
>> > dst.Text = d.ToString("p", nfi);
>> >
>> > where:
>> > d is a double value.
>> >
>> > According to MSDN help online , the value should be formatted as xx%
>> > (no
>> > space between number xx and percent symbol), what I get is xx % (space
>> > between).
>> >
>> > My final result should be for en-US culture without space. IS there a
>> > problem with framework? How can I actually force CultureInfo to adjust
>> > to
>> > follow custom rule for percentage without stripping it off manually or
>> > creating a wrapper?
>> >
>> > Thank you in advance.
>> >
>>
>>
>>