Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Seems like a bug to me
Message
From
25/10/2005 01:40:19
 
 
To
25/10/2005 00:46:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01061738
Message ID:
01061747
Views:
9
>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

Read:
Message #1060353
Message #1060386
Previous
Reply
Map
View

Click here to load this message in the networking platform