Just like you did but you're using the wrong slash it should be.

<CFSET MYVAL = thisval / thatval>

BTW you also don't need #'s in set's unless the variable name is in ""'s.

HTH,
--K

-----Original Message-----
From: Peter Benoit [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 23, 2000 11:33 AM
To: '[EMAIL PROTECTED]'
Subject: Division in Cold Fusion?


I must be looking at all the wrong stuff... but I want to take 2 values and
divide them.

like:

<cfset myval = #thisval# \ #thatval#>

Is there a correct way to do this?

Thanks,
Pete

----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to