Darren Duncan writes: > For round-trip consistency, a generic non-formatted num-to-char-string > operation should include a .0 as appropriate if it is converting from > a Num, whereas when converting from an Int it would not.
So this (in Perl 5): % perl -wle 'print 100 / 2' 50 you would want in Perl 6 to print 50.0 instead? Obviously it would be possible to get 50 by explicitly converting the result to an integer: % perl6 -e 'say (100 / 2).int' But of course always using C<int> means you lose any fractional parts from divisions that don't yield integers: % perl -wle 'print 99 / 2' 49.5 How would you get the current Perl 5 behaviour of displaying fractional parts if they exist and not if they don't? Smylers