Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[S32/Numeric] added $base condition
$base in the conversion method .base must be at least 2.
  • Loading branch information
Carl Masak committed May 7, 2011
1 parent 03f8d38 commit bf245c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion S32-setting-library/Numeric.pod
Expand Up @@ -243,7 +243,8 @@ number, so for example, the C<Rat> C<5/4> is returned as C<"1.2">.

multi method base(Cool $base as Int)

Returns a C<Str> representing the invocant in base C<$base>
Returns a C<Str> representing the invocant in base C<$base>. Fails if C<$base>
is smaller than C<2>.

=item floor

Expand Down

0 comments on commit bf245c0

Please sign in to comment.