Allow printing attributes with a value of zero

In case of 'number' attributes, let's print out their values when they
contain also the value of zero.