Hello,
I've developed an application wich reads files from disk containing Double numbers. I read these numbers as Strings, and then I make a format in the form "0.XXXXXE+-Y" and put the value in Text Boxes. In my PC it works all right (Win 95), but when I install tha application on any other PC (I've tried 3 different PC's, Win 95 and NT), the numbers I read are in a different scale, for example:
the number 0.1234 appears as 1.234, and the number 0.00033521656 as 33521.526 and the number 0.0300 as 0.3
First I treat them as strings, and once I've assured that they are numbers, I convert to Double. As I say in my PC it works and its debugged and tested, so I'm sure the process is right.
Another added problem is that in the other PC's I can only see the exe file, not the source code and I can't modify or debug the code. I've tried changing the Regional Configuration for numbers, such us decimal separator, decimal positions, etc. but no success.
Any tips on what can be the problem?
Thank you.
I've developed an application wich reads files from disk containing Double numbers. I read these numbers as Strings, and then I make a format in the form "0.XXXXXE+-Y" and put the value in Text Boxes. In my PC it works all right (Win 95), but when I install tha application on any other PC (I've tried 3 different PC's, Win 95 and NT), the numbers I read are in a different scale, for example:
the number 0.1234 appears as 1.234, and the number 0.00033521656 as 33521.526 and the number 0.0300 as 0.3
First I treat them as strings, and once I've assured that they are numbers, I convert to Double. As I say in my PC it works and its debugged and tested, so I'm sure the process is right.
Another added problem is that in the other PC's I can only see the exe file, not the source code and I can't modify or debug the code. I've tried changing the Regional Configuration for numbers, such us decimal separator, decimal positions, etc. but no success.
Any tips on what can be the problem?
Thank you.