-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello Ian, On Tuesday, August 03, 2004 , at 13:34:25[GMT +1000](which was 8:34 PM where I live) you wrote (at least in part): IAW> Michael, IAW> On Wednesday, August 4, 2004, 4:41:53 AM, you (Michael L. Wilson) wrote: MLW>> -----BEGIN PGP SIGNED MESSAGE----- MLW>> Hash: SHA1 MLW>> Greetings All, MLW>> I am trying to complete the following calculation MLW>> 100*(x/x+y) MLW>> x = %STATSPAMLETTERS = 77 MLW>> y = %STATNONSPAMLETTERS = 185 MLW>> Using a calculator, I get 29.389 MLW>> I cannot get this value using The Bat! %calc macro or anything else. MLW>> How do I do this kind of math in a The Bat! Macro? IAW> It depends on what you are trying to calculate. IAW> If you want to divide x by the sum of x+y then you need to bracket the IAW> x+y as in x/(x+y) otherwise it is just x/x to which y is added. In IAW> other words, you are multiplying 100 by 1 plus the value of y. Actually, it does not work unless I use the undocumented %sum() macro. - -- Michael L. Wilson, MBA :usflag: Ecclesiastic Philosopher Teacher Critic :einsteinyoyo: If you push something hard enough, it will fall over. - ----------------------------------------------------- The Bat! 2.13 "Lucky" Beta/1 on Windows XP 5.1 (2600) ==Spam Stats, last 24 hours (BayesIt! 0.5.9) Total Spam Emails: 99 Total Clean Emails: 142 BayesIT guessed right 99.939394% of the time My email is 31.9502% spam ============================================= -----BEGIN PGP SIGNATURE----- Version: PGP SDK 3.2.2 Comment: "Big Brother is REALLY watching you" iQA/AwUBQRBZwW2u7N+Qh+ieEQLmrgCfTmMlEEf5pyDQUR1hjAWNeICzuYYAoKLL nKjzoQrqft950I8Ja7nBar4t =457n -----END PGP SIGNATURE----- ________________________________________________ Current version is 2.12.00 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html