Quotient

Richmond richmondmathewson at gmail.com
Mon Jun 24 15:22:34 EDT 2019


Err . . .

So; I have several numbers that have to be divided by other numbers:

28 / 3

301 / 10

44 / 6

now these will all yield "awkward numbers" consisting of a quotient and 
a remainder:

9.33

30.1

7.33

Now I know one could be "ever so slightly potty" in LiveCode to get the 
quotient by doing something
like this:

put 28/3 into XX
put (28 mod 3) into YY
put (XX - YY) into ZZ

but that seems a long way round . . . but I cannot work out what the 
equivalent term to 'mod'
is to get the quotient in LiveCode.

Richmond.




More information about the use-livecode mailing list