Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Result of Division of 0 by 0
Message
From
26/01/2007 14:46:41
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
 
 
To
26/01/2007 12:59:07
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01189726
Message ID:
01189771
Views:
4
Details:
x=0
y=0
z=x/y
In this case z evaluates to < 0

x=1
y=0
z=x/y
In this case z evaluates to > 0

In both cases z would be represented by a series of '*'.

Question: Why in one case does it evaluate to < 0 and in the other evaluate to > 0?

Question: In VFP why is an error not generated by 0/0 or any division by 0.
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform