Modulus, by the definition I understand, uses only whole integers. http://en.wikipedia.org/wiki/Modular_arithmetic
On Wed, Apr 27, 2011 at 5:16 PM, Rawk <[email protected]> wrote: > <cfset x = 10 mod 4> > <cfset y = 10.5 mod 4> > > In the above example, x and y both result in "2". > > Is this intended for OpenBD? In New Atlanta's BD, x would be 2 and y > would be 2.5. > > Is there a different operator I should be using for mod in OpenBD? > > -- > official tag/function reference: http://openbd.org/manual/ > mailing list - http://groups.google.com/group/openbd?hl=en > -- official tag/function reference: http://openbd.org/manual/ mailing list - http://groups.google.com/group/openbd?hl=en
