On Tue, 19 Jun 2001 [EMAIL PROTECTED] wrote:
> I still can't see the usefulness in having INT(-3.01)=-4 though. Any
> mathematicians care to comment?
Well, as an ex-mathematician I also was not surprised. I'm sure various
languages I've used have behaved the same way i.e. INT rounds down to the
the nearest integer if the value is not already an integer.
Plot a graph of x against INT(x) for x=-2 to 2 and it all looks quite
sensible . As this is text only forum please use monospace font for:
|
|
2.0 | xxxx
| x
| x
1.0 | xxxxxxxx
| x
| x
-----------------------------xxxxxxxx-----------------------------
-2.0 -1.0 x 1.0 2.0
x
xxxxxxxx -1.0
x |
x |
xxxxxxxx | -2.0
|
|
Steve
+------------------------------------------------------------+
| Who's General Failure | [EMAIL PROTECTED] |
| and why is he | I cannot be held responsible if|
| reading my disk ? | my employer holds my opinions. |
+------------------------------------------------------------+
- RE: [ql-users] NEXT in FOR-loop Ian . Pine
- RE: [ql-users] NEXT in FOR-loop Mel LaVerne
- RE: [ql-users] NEXT in FOR-loop Claude Mourier 00
- RE: [ql-users] NEXT in FOR-loop Ian . Pine
- RE: [ql-users] NEXT in FOR-loop Ian . Pine
- Re: [ql-users] NEXT in FOR-loop Dave Walker
- RE: Re: [ql-users] NEXT in FOR-loop Ian . Pine
- RE: [ql-users] NEXT in FOR-loop Claude Mourier 00
- [ql-users] Q40/Q60 Steve Howe
- [ql-users] Q40/Q60 Giorgio Garabello
- RE: [ql-users] NEXT in FOR-loop Laurence Reeves
- Re: [ql-users] NEXT in FOR-loop Marcel Kilgus
- Re: [ql-users] NEXT in FOR-loop Tony Firshman
- Re: [ql-users] NEXT in FOR-loop Marcel Kilgus
- RE: Re: [ql-users] NEXT in FOR-loop Ian . Pine
- Re: [ql-users] NEXT in FOR-loop Mel LaVerne
- Re: [ql-users] NEXT in FOR-loop Mel LaVerne
- Re: [ql-users] NEXT in FOR-loop Tony Firshman
- RE: [ql-users] NEXT in FOR-loop Norman Dunbar
