Quotient

Devin Asay devin_asay at byu.edu
Tue Jun 23 17:17:40 EDT 2015


On Jun 23, 2015, at 2:43 PM, Peter Haworth <pete at 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





More information about the use-livecode mailing list