# New Ticket Created by "Brian S. Julin" # Please include the string: [perl #126923] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=126923 >
When the %d directive is given a decimal precision it should pad with zeroes, not spaces. $ perl6 -e 'printf("%3.3d", 16)' 16 $ perl -e 'printf("%3.3d\n", 16)' 016