Pat, will the optimizer be smart enough to only run the subquery once? Probably, but I'd phrase it this way to be sure:
(SELECT Sum(rank) as TotalVotes FROM tblpoll) subquery
"1e2"? 100, right?
As long as the subquery isn't correlated, the optimizer will only run it once.
Yes, 1e2 is a floating point 100. In this case, the type is very important because you have to force the type coersion to occur before the division, not after it if you want to retain the fractional portion of the result.