Title: Finding the remainder of an equation
The Mod Operator should work for you...
 
<cfset myvar = 23 Mod 5>
 

Dan Blackman
Senior Technologist
RemoteSite Technologies, Inc.
www.RemoteSite.com
v 972.501.9490
c 214.641.5695
  

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Brandon McMurray
Sent: Friday, May 18, 2001 9:05 AM
To: '[EMAIL PROTECTED]'
Subject: Finding the remainder of an equation

Hello -

I need to find the remainder of an equation such as 23 / 5.  I have searched the CF Docs, and I do not find a function that will do this.  Any ideas?

Thank you, 

--
Brandon McMurray
Web Developer / SysAdmin
Dallas Semiconductor Corp
[EMAIL PROTECTED]

Reply via email to