We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6dde69 commit 66e23abCopy full SHA for 66e23ab
doc/Type/Str.pod6
@@ -316,8 +316,8 @@ Defined as:
316
317
method Numeric(Str:D: --> Numeric:D)
318
319
-Coerces the string to L<Numeric>. L<Fails|/routine/fail> with C<X::Str::Numeric>
320
-if the coercion cannot be done.
+Coerces the string to L<Numeric> using semantics equivalent to L<val> routine.
+L<Fails|/routine/fail> with C<X::Str::Numeric> if the coercion to a number cannot be done.
321
322
Only Unicode characters with property C<Nd>, as well as leading and trailing
323
whitespace are allowed, with the special case of the empty string being coerced
0 commit comments