Lee,

Any resolution to this math error?

I ran the division on my MX box and indeed the quotient is 0.346752058554 

michael d corbridge
macromedia
617.219.2307
[EMAIL PROTECTED]


-----Original Message-----
From: Lee Fuller [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 10:19 PM
To: CF-Talk
Subject: Math In MX?


Ok.. I'm confused...

If...

#countmale.record# = 379  (which a cfoutput confirms)

And...

#responses# = 1093 (which a cfoutput confirms)

Then how the heck does...

<cfset Answer = #CountMale.RecordCount#/#Responses#>

End up being 0.0111569031498 ?

The answer is simple math.. And SHOULD be.. 0.346752058554.  Which, when
multiplied by 100 yields the percentage.

Sooo....  What am I missing?



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to