Skip to content

Commit 54b178d

Browse files
committed
Add missing 'method' words
1 parent 79b6d8d commit 54b178d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/Type/Num.pod6

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,23 +107,23 @@ Defined as:
107107
108108
Throws C<X::Cannot::Capture>.
109109
110-
=head2 Int
110+
=head2 method Int
111111
112112
method Int(Num:D:)
113113
114114
Converts the number to an L<Int|/type/Int>. L<Fails|/routine/fail> with
115115
C<X::Numeric::CannotConvert> if the invocant L«is a C<NaN>|/routine/isNaN»
116116
or C<Inf>/C<-Inf>. No L<rounding|/routine/round> is performed.
117117
118-
=head2 Rat
118+
=head2 method Rat
119119
120120
method Rat(Num:D: Real $epsilon = 1e-6)
121121
122122
Converts the number to a L<Rat|/type/Rat> with C<$epsilon> precision. If the invocant
123123
is a C<Inf>, C<-Inf>, or a C<NaN>, converts them to a L<Rat|/type/Rat> with C<0>
124124
L<denominator|/routine/denominator> and C<1>, C<-1>, or C<0> L<numerator|/routine/numerator>, respectively.
125125
126-
=head2 FatRat
126+
=head2 method FatRat
127127
128128
method FatRat(Num:D: Real $epsilon = 1e-6)
129129

0 commit comments

Comments
 (0)