By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,524 Members | 1,589 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,524 IT Pros & Developers. It's quick & easy.

'CultureInfo.InvariantCulture'

P: n/a
Can somebody to give me an example how to use

the invariant culture ('CultureInfo.InvariantCulture')

Thanks,
Cristian
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
* "cristian" <cr****@videotron.ca> 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.Invari antCulture)
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/>
Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.