mark at livecode.com
Mon Jun 24 15:26:08 EDT 2019
Try ‘div’ :)
Sent from my iPhone
> On 24 Jun 2019, at 20:22, Richmond via use-livecode <use-livecode at lists.runrev.com> wrote:
> 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:
> 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.
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode