Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mix up in CultureInfo
Message
From
09/09/2015 08:54:52
 
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01624382
Message ID:
01624392
Views:
41
>Don't know - unless it's a threading issue. But it seems to me your method is overly complicated - you could just use NumberFormatInfo directly without needing a Culture info:
Public Shared Function GetFormatValue(tnValue As Double, tcSeperator As String, tnDecimal As Integer) As String
>	Return tnValue.ToString("N", New NumberFormatInfo() With { _
>		Key .NumberDecimalSeparator = ".", _
>		Key .NumberGroupSeparator = tcSeperator, _
>		Key .NumberDecimalDigits = tnDecimal _
>	})
>End Function
This will not be the same thing.

Based on the language used of the member's account, we need to set up the culture accordingly so the display, for some settings, will be shown properly. If I just use this, I will not have the 100% exact same representation.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform