Quotient

Phil Davis revdev at pdslabs.net
Tue Jun 23 17:06:07 EDT 2015


put 12 div 5 into tQuotient
put 12 mod 5 into tRemainder
put 12 / 5 into tDecimalQuotient

Phil


On 6/23/15 1:43 PM, Peter Haworth 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.
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>

-- 
Phil Davis





More information about the Use-livecode mailing list