Mega Code Archive

 
Categories / Perl / String
 

Printing numbers without the + flag

#!usr/bin/perl use warnings; use strict; printf "%d\n%d\n", 786, -786;