Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C# Entity Framework with ASP.NET MVC Entity Framework and ASP.NET MVC Handling Creates and Updates

error with separator of decimal type while updating the averageRating property of a comic book

good afternoon iam a french lecture and nope dot or comma are working for me while updating the averagerating property of a comicbook i have adde the two lines in the get and post edit method of the ComicsBookController without success Thread.CurrentThread.CurrentCulture = new CultureInfo("fr-FR"); Thread.CurrentThread.CurrentUICulture = new CultureInfo("fr-FR"); and added the <system.web> <globalization uiCulture="fr-FR" culture="fr-FR"/> </system.web> in the web config file without success best regards

1 Answer

Good Evening All I have solved the issue . Best regards.