Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Seems like a bug to me
Message
From
25/10/2005 00:46:31
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Seems like a bug to me
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01061738
Message ID:
01061738
Views:
53
Hi

I have the following code
PUBLIC dt_a, dt_b
dt_a = DATETIME(2005,10,14,16,30)
dt_b = DATETIME(2005,10,17,10,0)

?m.nMins = (dt_b - dt_a)/60
This outputs 3930.0000

Why then does
?INT(?m.nMins)
output 3929

Somewhat confused

Using CAST() does the same thing.

Regards
Geoff Scott
May all your weeds be wildflowers
Next
Reply
Map
View

Click here to load this message in the networking platform