Price fraction: Difference between revisions

m
→‎{{header|Raku}}: Fix-up some Perl6 -> Raku references
(→‎{{header|Go}}: Turned this old code into a runnable program with examples.)
m (→‎{{header|Raku}}: Fix-up some Perl6 -> Raku references)
Line 2,832:
 
Simple solution, doing a linear search.<br>
Note that in Perl&nbsp;6Raku we don't have to worry about floating-point misrepresentations of decimals, because decimal fractions are stored as rationals.
 
{{works with|rakudo|2016.07}}
10,333

edits