Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I change from , to .

Status
Not open for further replies.

arneweise77

Programmer
Apr 25, 2002
46
SE
Hi everyone!

Simple question I guess.

How do I change a single variable, for intance 2,5 to 2.5
or 3,56 to 3.56?
Is there a simple function to use for this problem?
Please help me to solve this.

Thanks in advance!
 
replace(search,replace)

so

dim myVar as new string("3,6")
myVar.replace(",",".")

myVar is now "3.6"
penny1.gif
penny1.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top