Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix a proto.

  • Loading branch information...
commit 5c491115aa8ce81a40e35e509a3a568a4806a4c8 1 parent cf49051
@jnthn jnthn authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/core/Numeric.pm
View
6 src/core/Numeric.pm
@@ -170,9 +170,9 @@ proto sub ceiling($) is pure { * }
multi sub ceiling($a) { $a.Numeric.ceiling }
multi sub ceiling(Numeric $a) { $a.ceiling }
-proto sub round($) is pure { * }
-multi sub round($a) { $a.Numeric.round }
-multi sub round(Numeric $a) { $a.round }
+proto sub round($, $?) is pure { * }
+multi sub round($a) { $a.Numeric.round }
+multi sub round(Numeric $a) { $a.round }
multi sub round(Numeric $a, $scale) { $a.round($scale) }
proto infix:<+>($a?, $b?) is pure { * }
Please sign in to comment.
Something went wrong with that request. Please try again.