in reply to Rounding with sprintf and -0

Maybe this works for ya:
use feature 'say'; say int(-0.2 + 0.5); # 0 say int(3.49 + 0.5); # 3 say int(3.50 + 0.5); # 4
Check out this thread for lots of options: How do I round a number?.