[Coco] Performing a modulo operation

Luis Antoniosi (CoCoDemus) retrocanada76 at gmail.com
Wed Feb 13 15:15:12 EST 2013


7-INT(7/3)*3



On Wed, Feb 13, 2013 at 3:07 PM, Alan Bryan <icemanind9 at gmail.com> wrote:

> Is there a way, preferably in CoCo BASIC or in 6809 assembly language to
> perform a Modulo Operation?
>
> For example: 7 modulo 3 should be 1 (since 3 goes into 7 two times with a
> remainder of 1)
>
> Thanks
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
>



-- 
Long live the CoCo



More information about the Coco mailing list