[vox-tech] Nifty macro expansion bug
Peter Jay Salzman
p at dirac.org
Fri Jan 19 12:18:49 PST 2007
On Thu 18 Jan 07, 5:31 PM, Gabriel G. Rosa <grosa at ucdavis.edu> said:
(snip)
>
> Oh, and right after I hit send the real reason for the do-while instead
> of just {} comes to me, as does where I read it:
>
> http://kernelnewbies.org/FAQ/DoWhile0
Nice find, Gabe. This is now in my personal bag of tricks.
Pete
--
How VBA rounds a number depends on the number's internal representation.
You cannot always predict how it will round when the rounding digit is 5.
If you want a rounding function that rounds according to predictable rules,
you should write your own.
-- MSDN, on Microsoft VBA's "stochastic" rounding function
Peter Jay Salzman, email: p at dirac.org web: http://www.dirac.org/p
PGP Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D
More information about the vox-tech
mailing list