Thanks Phil and Devin.  I had no idea that div and the "/" operator yielded
different results.

On Tue, Jun 23, 2015 at 2:18 PM Devin Asay <devin_a...@byu.edu> wrote:

>
> On Jun 23, 2015, at 2:43 PM, Peter Haworth <p...@lcsql.com> wrote:
>
> > Does LC include an operator to return the quotient of a division
> > operation?  For example, I want to get 2 as the result of 12 divided by
> 5.
>
> Are you talking about the div operator?
>
>   put 12 div 5 --> 2
>
> And the mod operator gives the remainder:
>
>   put 13 mod 5 --> 3
>
>
> Devin
>
> Devin Asay
> Office of Digital Humanities
> Brigham Young University
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to