smskrishna
15 years agoOccasional Contributor
String to float conversion problem in German OS
Hi,
As part of my test case ,my script reads a value (eg: 123.45) from textbox/editbox and I am musing StrToFloat conversion. It runs fine in my machine (OS Windows XP ,Language settings English US) , but when my customer runs it at his end it fails due to chenge in the OS.
My customer uses Windows XP with German settings where decimal separator is "," (comma), but it is "."(dot) in my machine. Due to this error msg is thrown by Tetcomplete something like 'invalid float '. We are using Testcomplete 6.5, C# is used for scripting . Is there any specific way to handle this in Testcomplete.