Quote Originally Posted by keystone_paul View Post
Do you really want it to return an integer? By its very definition this will round the answer.

I would have thought you ought to be using a double as this is what the Sqrt function returns.
Yeah, I figured that out after a while, but thanks anyway.