I used to live in Kitchener back in 2006. You gas prices are cheaper than ours though! The gov didn't mention how long "temporary" was!
-----Original Message----- From: Michael Grant [mailto:[email protected]] Sent: Thursday, February 10, 2011 10:43 AM To: cf-talk Subject: Re: decimals and variables I come a close second. I'm in ON. Damn you Harper! Remember in the 80's when the GST was a temporary measure? On Thu, Feb 10, 2011 at 9:38 AM, Rick Sanders <[email protected]> wrote: > > Yup, I certainly am! Paying the highest taxes in North America! lol! > > -----Original Message----- > From: Michael Grant [mailto:[email protected]] > Sent: Thursday, February 10, 2011 10:33 AM > To: cf-talk > Subject: Re: decimals and variables > > > Does this mean you are in Nova Scotia? > > > On Thu, Feb 10, 2011 at 9:14 AM, Rick Sanders <[email protected]> wrote: > > > > > Hey all, > > > > > > > > I'm pulling up an integer from the database which is 15. > > > > > > > > This is a tax rate, so I need to get the tax on the subtotal. Say the > > #subtot# is 100 and #tx# is 15. > > > > <cfset tax = #subtot# * .#tx#> > > > > This should bring back the number 15. However, cf is throwing an error > > because of the decimal in front of the #tx#. > > > > > > > > <cfset tax = #subtot# * .15> > > > > This works. However I need to pull from the database in case the tax rate > > changes. > > > > > > > > Rick > > > > > > > > > > > > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:342111 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

