Fixed output when value = 0 (#155)