Hi,
It seems to me that the modulo (% - an integer reminder after a
division) produces false results. Just try to devide e.g. 2/3 and
instead of 0,666...7 you will get 0,2. Well, 0,2 and 0,7 is very large
difference.
Here is an example that can be directly copy&pasted into a script (it
should show the same result twice):
MessageBox ("ok", " 2/3 - integer: " ++ 2/3 ++ "." ++ 2%3 ++ ",
float: " ++ float.divide (2,3))
What puzzles me is that the modulo calculation functions well in some
situations, but wrong in some other.
Am I missing something?
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/