Skip to content

Commit e951297

Browse files
committed
[Int] method/sub chr
1 parent beb5d73 commit e951297

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lib/Int.pod

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ separators, but don't carry any meaning:
1717
5_00000 # five Lakhs
1818
500_000 # five hundred thousand
1919
20+
=head1 Methods
21+
22+
=head2 chr
23+
24+
multi sub chr(Int:D ) returns Str:D
25+
multi method chr(Int:D:) returns Str:D
26+
27+
Returns a one-character string, by interpreting the integer as a Unicode
28+
codepoint number and converting it the corresponding character.
29+
2030
=head1 Operators
2131
2232
=head2 div

0 commit comments

Comments
 (0)