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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

regional setting and vbscript

Status
Not open for further replies.

mrmovie

Technical User
Oct 2, 2002
3,094
GB
Hello all,
run into a problem with a script of mine.
have got round the issue but would like some advice if possible.

german machine

x = "170.04"
y = CSng(x) 'y results in 17004 !!!!!!!!!!!!

x = "170,04"
y = CSng(x) 'y results in 170,04

I have an ini file which is read during unattended xp installation and it is used to determine which products to install and in which order.

is there a way to explicitly declare the type of regional settings you want to use during script execution??

regards,
von moyla
 
getlocal
setlocal()

doo as homer would say
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top