Hey CDR.. you should do a "
testing" on the OS regional settings to check whether it is set to use "," or "." as decimal poit, or those string conversions will mess you up big time.. GPS standards always use "." (because "," is the field divisor).. but if the OS is set to use "," as decimal point, numbers like 123.45 will count as "12345" which is incorrect..
You can detect comma as decimal point with something like: "if instr(cstr(1/2), ",") > 0 then" then you can fix it by replacing the "." in the string with a "," or by dividing it by the number of decimal digits * 10 .. like 123.45 / 100 (on a system with comma as decimal point it will yield to 123,45) ..
Bookmarks