develooper Front page | perl.perl6.users | Postings from March 2021

'CALL-ME' Math problem?

Thread Previous | Thread Next
ToddAndMargo via perl6-users
March 2, 2021 08:13
'CALL-ME' Math problem?
Message ID:

Hi All,

Math problem:
     x = 60÷5(7−5)

raku -e 'say 60÷5(7−5)'
No such method 'CALL-ME' for invocant of type 'Int'
   in block <unit> at -e line 1

Seems raku does not like the ().  How do I fix this
and maintain the flow and look of the equation?


The correct answer is 24

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About