Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What controls if scientific notation is used?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00557366
Message ID:
00557664
Views:
16
Hi!

Well, while I was not able to fugure it out in a short tests, here are some ideas.
Just find what is deifference between these 2 computers. What version of VFP used?
Open Options dialog box, hold down the Ctlr, Alt and Shift keys and press Ok button - this will put into the command window all settings list. Write this into the text file, do the same at another computer and then compare settings. Take a look also to the difference in the regianal settings in Windows, but I do not think it can help.

>Using vfp5...
>
>I have a formula which gives me a temporary unique key...
>
>TempKey = -(datetime() - {1/1/1970 12:00am})
>
>In the COMMAND WINDOW...
>With my home computer, on the results are displayed
>in scientific notation.
>
>? -({9/10/2001 12:00am} - {1/1/1970 12:00am})
>displays -1.00008E+9
>
>On my machine at work, the full result is displayed.
>
>? -({9/10/2001 12:00am} - {1/1/1970 12:00am})
>displays -1000080000
>
>I cannot find a SETting that controls this behavior.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform