# New Ticket Created by  Life U. Everything 
# Please include the string:  [perl #118545]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118545 >


<lue> r: say (41.0).round(5)
<camelia> rakudo b2072f: OUTPUT«40␤»
<lue> r: say (41).round(5) # round doesn't like Ints
<camelia> rakudo b2072f: OUTPUT«Too many positional parameters passed; 
got 2 but expected 1␤ in method round at src/gen/CORE.setting:3351␤ in 
block at /tmp/84eQ6fZ1ka:1␤␤»
<masak> r: say 41.round
<camelia> rakudo b2072f: OUTPUT«41␤»
<masak> lue: seems the Rat version takes an optional parameter, but the 
Int version doesn't.
<masak> lue: plz file a rakudobug :)
* lue does so

Reply via email to