Hi.
I have succeeded in writing some scripts that reads and writes values to text files.
What occasionally screws things up is when the decimal symbol is changed in the regional settings of Windows Control panel. You know, to designate the decimal point, in some languages is used the period ("."), and in some other languages is used the comma (",").
To the questions:
If decimal point is changed from "." to "," in Windows, how does a script then interpret a value that is stored as "12.34" ?
The value is read into a string and I write f.ex.
IF IsNumeric(strValue) THEN iValue = strValue
Can I within VBS somehow read the currently set decimal symbol ?
Can I somehow specify within VBS that one or the the other symbol shall be used, thereby overruling the decimal symbol set in Windows ?
Thanks.
I have succeeded in writing some scripts that reads and writes values to text files.
What occasionally screws things up is when the decimal symbol is changed in the regional settings of Windows Control panel. You know, to designate the decimal point, in some languages is used the period ("."), and in some other languages is used the comma (",").
To the questions:
If decimal point is changed from "." to "," in Windows, how does a script then interpret a value that is stored as "12.34" ?
The value is read into a string and I write f.ex.
IF IsNumeric(strValue) THEN iValue = strValue
Can I within VBS somehow read the currently set decimal symbol ?
Can I somehow specify within VBS that one or the the other symbol shall be used, thereby overruling the decimal symbol set in Windows ?
Thanks.