Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Weird behavior on localization
Message
De
30/07/2010 15:12:00
 
 
À
30/07/2010 11:41:05
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01474524
Message ID:
01474654
Vues:
29
>Thinking about it, since all you are doing is switching the currency sign to a trailing position for the French version this would be even simpler:
   Public Function GetFormatValueDollar(ByVal tnValue As Double, ByVal nLanguage As Integer) As String
>        Dim info As New CultureInfo("en-US")
>        Select Case nLanguage
>            Case 1
>             Case Else
>                info.NumberFormat.CurrencyPositivePattern = 1
>        End Select
>        Return tnValue.ToString("c", info)
>    End Function
Thanks, I'll check it out later on.
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform