Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Better example of base() rounding
  • Loading branch information
MasterDuke17 committed Nov 14, 2016
1 parent 0ea8e00 commit 06707c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Type/Real.pod6
Expand Up @@ -74,7 +74,7 @@ with a minimum of 6.
The final digit produced is always rounded.
say pi.base(10, 5); # 3.14159
say pi.base(10, 3); # 3.142
To convert a string to a number use the C<:16($string)> notation where 16 is
the base:
Expand Down

0 comments on commit 06707c8

Please sign in to comment.