Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change to DECIMALS ?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01165727
Message ID:
01165862
Views:
14
>Something odd has happened on my system. Code which worked previously has suddenly changed behaviour.
>
>I had a line of code which equates to this:
>
>? VAL('1.8985')
>returning 1.8985
>
>now it returns 1.90
>
>I've tracked it down to the SET DECIMALS being 2. My regional settings are set to use system settings, which are British. The settings dialogue shows 2 in the decimals.
>
>SET FIXED OFF makes no difference.
>
>I am mystified as to how this has altered unless there is some connection with the UK end of daylight savings change that took place 2 days ago. I find it hard to believe.
>

I can't offer any insight as to your particular problem, but I don't find it hard to believe. In my particular case, the Windows Task Scheduler suddenly couldn't authenticate the user password after the time switch and our over-night processing came to a screeching halt. At least we were ready for it when the clock moved again.

Good luck.







>This is on VFP8, SP1.
>
>Are there any other UK users having a similar problem or have I done something really stupid? (or both...)
>
>TIA,
>Simon
Previous
Reply
Map
View

Click here to load this message in the networking platform