Hi, I’m need to use the this format for double (155.45) but Wisej put this variable as (155,45)..
I know, I can use a Replace() but i don’t like… I need to change the globalization maybe..
I tried (in Web.config):
<globalization uiCulture=”es” culture=”es-MX” />
But not work.
I have now the solution…
Public Sub setCulture(culture As String)
Thread.CurrentThread.CurrentCulture = New CultureInfo(culture, False)
Thread.CurrentThread.CurrentUICulture = New CultureInfo(culture, False)
You don’t need to change the locale on the thread. Wisej takes care of that, see: