Subject Re: Problem with quotes
Author Ali Gökçen
> = Cast(((n * (n+1)) / 2) as Integer)
> ( Does that make me a real programmer ;-) )

Yup, it makes you with a little optimization.
(if you cancel the casting :P )

(n*n+n)/2, no cast, no paranthesis soup. ;)

Actually this was the light version of my ask.
The original is: how can you put sum of numbers from n to m.
(to the real-real-programmers)
If they were be float numbers you can't sum, there is infinity
between them.
So, they are integers of course.


Let's go!, goo! Escape! Helen comming to this side!