Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

Problem with local configuration RSS

1 reply

Last post Aug 28, 2007 09:33 PM by Jonathan [MSFT]

(0)
  • Iván

    Iván

    0 Points

    1 Post

    Problem with local configuration

    Aug 27, 2007 03:24 PM | LINK

    I am developing silverlight applications using both XAML an C# languages. I've found the following problem:

    I've computer local configuration in spanish (dot as thousands separator, and comma as decimal point), when I run the following code, it runs fine ([ 1 ])

    MyArcSegment.Size = new Point(27 , 27); [ 1 ]

    However, when I use floating point numbers, this stops working.([ 2 ])

    MyArcSegment.Size = new Point(27.5 , 27.5); [ 2 ]

    If I change the local configuration from spanish to english(dot as decimal, and comma as thousands separator), it works fine.

    There seems to be a problem with Point Class when used in local configurations other than english.

    Best regards

     

     

    Regional language options problem

  • Jonathan [MSFT]

    Jonathan [MSFT]

    Member

    255 Points

    85 Posts

    Microsoft

    Re: Problem with local configuration

    Aug 28, 2007 09:33 PM | LINK

    Thank you, Iván.  I checked with the product group and this is a known issue.