Re: how do I do an integer divide?

2018-04-14 Thread JJ Merelo
That's actually in the documentation https://docs.perl6.org/routine/div Cheers JJ

Re: how do I do an integer divide?

2018-04-13 Thread ToddAndMargo
On Fri, 13 Apr 2018 at 11:07 ToddAndMargo > wrote: How do I do and integer divide? On 04/13/2018 03:09 AM, Simon Proctor wrote: It's div (lowercase) so 21 div 4 = 5 :) That was easy. Thank you! -- ~~ Computers are like

Re: how do I do an integer divide?

2018-04-13 Thread Simon Proctor
It's div (lowercase) so 21 div 4 = 5 :) On Fri, 13 Apr 2018 at 11:07 ToddAndMargo wrote: > Hi All, > > How do I do and integer divide? > > By that I mean I want only the whole number and > not the decimal point or the fraction. > > 21 DIV 4 = 5 (not 5.25) > 21 % 4 = 1 (remainder = 1) > > >

how do I do an integer divide?

2018-04-13 Thread ToddAndMargo
Hi All, How do I do and integer divide? By that I mean I want only the whole number and not the decimal point or the fraction. 21 DIV 4 = 5 (not 5.25) 21 % 4 = 1 (remainder = 1) Many thanks, -T