Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange interaction of MOD() and INT()
Message
From
23/08/2006 14:03:44
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Strange interaction of MOD() and INT()
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01147970
Message ID:
01147970
Views:
70
Hi,

I've got a function that displays seconds in the format HH:MM:SS.

In calculating the seconds part of the string, I do this:
INT(m.tnElapsedSeconds % 60)
When m.tnElapsedSeconds = 71 I get 10 being returned, but only when the function is called in a report!

Anybody have any idea what could be causing this?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Next
Reply
Map
View

Click here to load this message in the networking platform