ESPECIALLY with the easy ones ;-) .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com
-----Original Message----- From: Alan Rother [mailto:[email protected]] Sent: Tuesday, March 01, 2011 3:44 PM To: cf-talk Subject: Re: Calculating Percentage What Phillip said... But keep in mind, there are no dumb questions, some are just REALLY EASY. People here are always happy to help, even with the easy questions. =] On Tue, Mar 1, 2011 at 1:41 PM, Phillip Vector <[email protected]>wrote: > > <cfset Percentage = Correct/Total * 100> > > On Tue, Mar 1, 2011 at 12:31 PM, John Eubanks <[email protected]> wrote: > > > > I know this is probably a dumb question, but I need help anyways. I am > building a test in coldfusion for end users. I need to calculate the total > percentage and display it. How do I do that? For example, if a user gets > six out of ten questions correct, calculate 60% and display it. > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342663 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

