Price fraction: Difference between revisions

Content added Content deleted
(→‎{{header|Go}}: Turned this old code into a runnable program with examples.)
m (→‎{{header|Raku}}: Fix-up some Perl6 -> Raku references)
Line 2,832: Line 2,832:


Simple solution, doing a linear search.<br>
Simple solution, doing a linear search.<br>
Note that in Perl&nbsp;6 we don't have to worry about floating-point misrepresentations of decimals, because decimal fractions are stored as rationals.
Note that in Raku we don't have to worry about floating-point misrepresentations of decimals, because decimal fractions are stored as rationals.


{{works with|rakudo|2016.07}}
{{works with|rakudo|2016.07}}