Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[S32/Numeric] Real.base: $base <= 36, upper case in result
  • Loading branch information
moritz committed May 7, 2011
1 parent bf245c0 commit 9019a8e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion S32-setting-library/Numeric.pod
Expand Up @@ -244,7 +244,10 @@ 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>. Fails if C<$base>
is smaller than C<2>.
is smaller than C<2> or larger than C<36>.

For bases above ten, the digit repertoire is enhanced with upper-case latin
characters starting from C<A>.

=item floor

Expand Down

0 comments on commit 9019a8e

Please sign in to comment.