On Wed, 10 Jul 2024, Derick Rethans wrote:

> On Mon, 1 Jul 2024, Saki Takamachi wrote:
> 
> The example has:
> 
>       [$perMouth, $slicesLeft] = $slicesOfPizza->divmod($mouthsToFeed);
>        
>       // $perMouth->value is '2'
>       // $slicesLeft->value is '2'
> 
> Shouldn't that be (without the ->value) ?

I can answer this myself now :-) No, it shouldn't be, as $perMouth is a 
Number object.

cheers,
Derick

Reply via email to