PC Review


Reply
Thread Tools Rate Thread

'CultureInfo.InvariantCulture'

 
 
cristian
Guest
Posts: n/a
 
      24th Aug 2004
Can somebody to give me an example how to use

the invariant culture ('CultureInfo.InvariantCulture')

Thanks,
Cristian
 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      24th Aug 2004
* "cristian" <(E-Mail Removed)> scripsit:
> Can somebody to give me an example how to use
>
> the invariant culture ('CultureInfo.InvariantCulture')


\\\
Dim d As Double = 22.34234
Dim s As String = d.ToString(System.Globalization.CultureInfo.InvariantCulture)
MsgBox(s)
d = Double.Parse(s, System.Globalization.CultureInfo.InvariantCulture)
MsgBox(d.ToString())
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CurrentCulture or InvariantCulture? rk Microsoft VB .NET 1 16th Apr 2007 06:27 AM
CultureInfo TomislaW Microsoft ASP .NET 1 5th Jul 2005 02:06 PM
CULTUREINFO, how is it used by ASP.Net =?Utf-8?B?Q2FtbWllIFdhdHNvbg==?= Microsoft ASP .NET 3 19th Feb 2005 12:09 AM
CultureInfo Maileen Microsoft VC .NET 0 30th Oct 2004 07:21 PM
cultureinfo 2G Microsoft C# .NET 1 29th May 2004 07:45 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:58 AM.